diff options
author | Daniil Baturin <daniil@baturin.org> | 2014-09-25 16:28:49 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2014-09-25 16:28:49 +0200 |
commit | b9a8dfa4b7f248e42532d047eedc06a8c98e2ce9 (patch) | |
tree | e214577a5828af5160138451400bc2833c7322a4 | |
parent | de8a3de7f6f8faa27dc7f56ff09cab1d0b656c2d (diff) | |
parent | 92427eed1488b82253f18611c54868a29ca48c2b (diff) | |
download | vyatta-cfg-system-b9a8dfa4b7f248e42532d047eedc06a8c98e2ce9.tar.gz vyatta-cfg-system-b9a8dfa4b7f248e42532d047eedc06a8c98e2ce9.zip |
Merge branch 'helium' of github.com:vyos/vyatta-cfg-system into helium
-rw-r--r-- | templates/interfaces/tunnel/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/tunnel/node.def b/templates/interfaces/tunnel/node.def index 426b9d26..f7ffd746 100644 --- a/templates/interfaces/tunnel/node.def +++ b/templates/interfaces/tunnel/node.def @@ -28,7 +28,7 @@ commit:expression: (!(pattern $VAR(./address/@@) ".*:.*") && $VAR(./encapsulatio $VAR(./encapsulation/@) != "gre" || ($VAR(./encapsulation/@) == "gre" && $VAR(./remote-ip/) != ""); "IPv6 addresses ($VAR(./address/@@)) are forbidden for mGRE tunnels." create: - if [ $VAR(./encapsulation/@) = gre ] && [ -z $VAR(./remote-ip/) ]; then + if [ $VAR(./encapsulation/@) == gre ] && [ -z $VAR(./remote-ip/) ]; then sudo invoke-rc.d opennhrp.init start; fi if [ x$VAR(./multicast/@) == xenable ]; then |