From 2cef60a0c5db9ea0350de717041055a96d512aed Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Fri, 29 Nov 2024 10:42:05 +0100 Subject: [PATCH] Remove error for some alias interface in omr-bypass --- omr-bypass/files/etc/init.d/omr-bypass-nft | 1 + 1 file changed, 1 insertion(+) diff --git a/omr-bypass/files/etc/init.d/omr-bypass-nft b/omr-bypass/files/etc/init.d/omr-bypass-nft index 041368cb2..b9121e4e5 100755 --- a/omr-bypass/files/etc/init.d/omr-bypass-nft +++ b/omr-bypass/files/etc/init.d/omr-bypass-nft @@ -615,6 +615,7 @@ _intf_rule() { [ -n "$(echo $intf | grep '@')" ] && intf=$(ifstatus "$1" | jsonfilter -q -e '@["device"]') [ -z "$intf" ] && config_get intf $1 device [ -n "$(echo $intf | grep '/')" ] && return + [ -n "$(echo $intf | grep '@')" ] && return #count=$((count+1)) [ "$intf" != "all" ] && config_get count $1 metric [ "$intf" = "all" ] && count=""