eventscripts: NAT gateway script doesn't need to handle "recovered" event
authorMartin Schwenke <martin@meltin.net>
Thu, 17 Oct 2013 05:17:26 +0000 (16:17 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 22 Oct 2013 03:34:05 +0000 (14:34 +1100)
commit542c70d6281d636ecd51502fbbf219f418bfac66
treec92a3af91f646b1ca50ffbe14731c772ef27d6b9
parent00736a21fc268c10b6a718731e56b3dbb7e60554
eventscripts: NAT gateway script doesn't need to handle "recovered" event

Any time a node changes flags in any significant way there will be a
takeover run, which will generate an "ipreallocated" event.  The
"recovered" event always happens straight after a takeover run so we
update the NAT gateway twice.

Signed-off-by: Martin Schwenke <martin@meltin.net>
config/events.d/11.natgw