diff options
Diffstat (limited to 'templates')
-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 |