From 71bd325cfec2b6aec1a7a5c7c715b6eb64f46f84 Mon Sep 17 00:00:00 2001 From: Keith Whyte Date: Wed, 29 Apr 2020 05:17:21 +0200 Subject: [PATCH] typo in variable name --- modules/rhizo_base/files/var/SysmoBTS/chk_masq | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/rhizo_base/files/var/SysmoBTS/chk_masq b/modules/rhizo_base/files/var/SysmoBTS/chk_masq index 303e49a..63f12c4 100644 --- a/modules/rhizo_base/files/var/SysmoBTS/chk_masq +++ b/modules/rhizo_base/files/var/SysmoBTS/chk_masq @@ -2,8 +2,8 @@ . /home/rhizomatica/bin/vars.sh -/sbin/iptables -t nat -vnL | egrep "MASQUERADE.*all.*$_PUBIF.*172.16.0.0/16.*0.0.0.0/0" +/sbin/iptables -t nat -vnL | egrep "MASQUERADE.*all.*$_PUB_IF.*172.16.0.0/16.*0.0.0.0/0" if [ $? != 0 ] ; then # Add the Masquerade RULE - iptables -t nat -I POSTROUTING -s 172.16.0.0/16 -o $_PUBIF -j MASQUERADE + iptables -t nat -I POSTROUTING -s 172.16.0.0/16 -o $_PUB_IF -j MASQUERADE fi