summaryrefslogtreecommitdiffstats
path: root/usr/local/bin/easyrule
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/bin/easyrule')
-rwxr-xr-xusr/local/bin/easyrule5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/local/bin/easyrule b/usr/local/bin/easyrule
index eef8277..9850aee 100755
--- a/usr/local/bin/easyrule
+++ b/usr/local/bin/easyrule
@@ -35,6 +35,11 @@ require_once("shaper.inc");
$message = "";
$specialsrcdst = explode(" ", "any pptp pppoe l2tp openvpn");
+$ifdisp = get_configured_interface_with_descr();
+foreach ($ifdisp as $kif => $kdescr) {
+ $specialsrcdst[] = "{$kif}";
+ $specialsrcdst[] = "{$kif}ip";
+}
/* Borrow this function from guiconfig.inc since we can't include it for use at the CLI
OpenPOWER on IntegriCloud