Skip to content

Commit

Permalink
update ipv6 address for vpc peer (#2060)
Browse files Browse the repository at this point in the history
  • Loading branch information
hongzhen-ma committed Nov 21, 2022
1 parent 15e544f commit e3e79a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ovs/ovn-nbctl-legacy.go
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ func (c LegacyClient) CreatePeerRouterPort(localRouter, remoteRouter, localRoute
}

_, err = c.ovnNbCommand("set", "logical_router_port", localRouterPort,
fmt.Sprintf("networks=%s", strings.ReplaceAll(localRouterPortIP, ",", " ")))
fmt.Sprintf("networks=\"%s\"", strings.ReplaceAll(localRouterPortIP, ",", " ")))

if err != nil {
klog.Errorf("failed to set router port %s: %v", localRouterPort, err)
Expand Down

0 comments on commit e3e79a7

Please sign in to comment.