diff options
author | Daniil Baturin <daniil.baturin@vyatta.com> | 2011-10-11 14:34:18 +0700 |
---|---|---|
committer | Daniil Baturin <daniil.baturin@vyatta.com> | 2011-10-11 14:34:18 +0700 |
commit | 7796c6be0044398598445940d6d3e675203ad3f2 (patch) | |
tree | aea15ae5d96fc2e5fa4bdf0b37b9f9ea1e502589 | |
parent | 116667ef7d5cf5cfa821ebc615217b743e7cf3e8 (diff) | |
download | vyatta-nat-7796c6be0044398598445940d6d3e675203ad3f2.tar.gz vyatta-nat-7796c6be0044398598445940d6d3e675203ad3f2.zip |
Bug 5682: Remove common NAT update script call from templates,
add scripts calls for source and destination parts.
-rw-r--r-- | templates-cfg/nat/destination/node.def | 4 | ||||
-rw-r--r-- | templates-cfg/nat/node.def | 2 | ||||
-rw-r--r-- | templates-cfg/nat/source/node.def | 4 |
3 files changed, 7 insertions, 3 deletions
diff --git a/templates-cfg/nat/destination/node.def b/templates-cfg/nat/destination/node.def index 6fb1f43..8c723a0 100644 --- a/templates-cfg/nat/destination/node.def +++ b/templates-cfg/nat/destination/node.def @@ -1 +1,3 @@ -help: Destination NAT settings
\ No newline at end of file +help: Destination NAT settings + +end:expression: "sudo /opt/vyatta/sbin/vyatta-update-dst-nat.pl"
\ No newline at end of file diff --git a/templates-cfg/nat/node.def b/templates-cfg/nat/node.def index 63f8866..16d9f39 100644 --- a/templates-cfg/nat/node.def +++ b/templates-cfg/nat/node.def @@ -2,4 +2,4 @@ priority: 220 help: Network Address Translation (NAT) parameters -end:expression: "sudo /opt/vyatta/sbin/vyatta-update-nat.pl" +#end:expression: "sudo /opt/vyatta/sbin/vyatta-update-dst-nat.pl" diff --git a/templates-cfg/nat/source/node.def b/templates-cfg/nat/source/node.def index 5548be4..4c7cb17 100644 --- a/templates-cfg/nat/source/node.def +++ b/templates-cfg/nat/source/node.def @@ -1 +1,3 @@ -help: Source NAT settings
\ No newline at end of file +help: Source NAT settings + +end:expression: "sudo /opt/vyatta/sbin/vyatta-update-src-nat.pl"
\ No newline at end of file |