Browse Source

Merge pull request #1607 from gravitl/bugfix_v0.16.1_ingress-egress

Bugfix v0.16.1 ingress egress
Alex Feiszli 2 years ago
parent
commit
c46ddeddc7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      logic/gateway.go

+ 2 - 2
logic/gateway.go

@@ -88,12 +88,12 @@ func CreateEgressGateway(gateway models.EgressGatewayRequest) (models.Node, erro
 	}
 	}
 	if node.PostUp != "" {
 	if node.PostUp != "" {
 		if !strings.Contains(node.PostUp, postUpCmd) {
 		if !strings.Contains(node.PostUp, postUpCmd) {
-			postUpCmd = node.PostUp + " ; " + postUpCmd
+			postUpCmd = node.PostUp + postUpCmd
 		}
 		}
 	}
 	}
 	if node.PostDown != "" {
 	if node.PostDown != "" {
 		if !strings.Contains(node.PostDown, postDownCmd) {
 		if !strings.Contains(node.PostDown, postDownCmd) {
-			postDownCmd = node.PostDown + " ; " + postDownCmd
+			postDownCmd = node.PostDown + postDownCmd
 		}
 		}
 	}
 	}