git.samba.org
/
metze
/
ctdb
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e712b6
)
skip the check if NATGW is enabled.
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Tue, 10 Aug 2010 03:53:18 +0000
(13:53 +1000)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Tue, 10 Aug 2010 03:53:18 +0000
(13:53 +1000)
many users use natgw incorrectly with invalid configurations.
It is easier to skip this check here
config/events.d/11.natgw
patch
|
blob
|
history
diff --git
a/config/events.d/11.natgw
b/config/events.d/11.natgw
index 9147dca00fdd9d0b43f8a016f4c21d636bfa51b9..c872837dac2b39aab4808f177d1500cd60781922 100755
(executable)
--- a/
config/events.d/11.natgw
+++ b/
config/events.d/11.natgw
@@
-8,7
+8,7
@@
. $CTDB_BASE/functions
loadconfig
-[ -z "$CTDB_NATGW_PUBLIC_IFACE" ] && exit 0
+
#
[ -z "$CTDB_NATGW_PUBLIC_IFACE" ] && exit 0
delete_all() {
CTDB_NATGW_PUBLIC_IP_HOST=`echo $CTDB_NATGW_PUBLIC_IP | sed -e "s/\/.*/\/32/"`