diff options
author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2010-10-08 15:51:44 +1100 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2010-10-08 15:53:36 +1100 |
commit | 51a38dc4a434b0d13ba83489638739b029dab279 (patch) | |
tree | 6b812296aad7c4ca836e9ba2538cc59c984cdbb3 | |
parent | 6a7ecb7f423151a85f088d5f20928989d7376d38 (diff) | |
download | samba-51a38dc4a434b0d13ba83489638739b029dab279.tar.gz samba-51a38dc4a434b0d13ba83489638739b029dab279.tar.xz samba-51a38dc4a434b0d13ba83489638739b029dab279.zip |
Spotted by rusty.
Add a missing $
so we delete $_ip and not _ip
(This used to be ctdb commit e9d04c5f419eaa0338a3beefba32c52be00242a8)
-rwxr-xr-x | ctdb/config/events.d/11.natgw | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/config/events.d/11.natgw b/ctdb/config/events.d/11.natgw index f8892a9bab..34aee19e21 100755 --- a/ctdb/config/events.d/11.natgw +++ b/ctdb/config/events.d/11.natgw @@ -33,7 +33,7 @@ delete_all() { iptables -D POSTROUTING -t nat -s $CTDB_NATGW_PRIVATE_NETWORK -d ! $CTDB_NATGW_PRIVATE_NETWORK -j MASQUERADE >/dev/null 2>/dev/null # remove any iptables rule we may have on this address - iptables -D INPUT -p tcp --syn -d _ip/32 -j REJECT 2>/dev/null + iptables -D INPUT -p tcp --syn -d $_ip/32 -j REJECT 2>/dev/null } case "$1" in |