eventscripts: Sanity check NAT gateway configuration
authorMartin Schwenke <martin@meltin.net>
Fri, 7 Mar 2014 02:43:17 +0000 (13:43 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Wed, 26 Mar 2014 05:57:36 +0000 (16:57 +1100)
commita15fbcc26c9b1753a525694c318d8f77c0f38dfa
tree5023da7ac98d7f882dd6b38e6e8f54f3c7f9304f
parente046b625e0f1461bfa84972f0b981111fce725bb
eventscripts: Sanity check NAT gateway configuration

NAT gateway really can't operate unless most of the configuration
variables are set.

A check in delete_all() can be removed - strange that this isn't also
done in the add case.

Signed-off-by: Martin Schwenke <martin@meltin.net>
(Imported from commit d4f333f5e6186d88f436b0a747f500f3f32ed9bd)
config/events.d/11.natgw