Committed by
Ray Milkey
Fixed get index of ovsdb device ID
Change-Id: I4416718b7f9549cfa2635cb2b52174bf6318bf45
Showing
2 changed files
with
2 additions
and
2 deletions
... | @@ -131,7 +131,7 @@ public class OvsdbBridgeConfig extends AbstractHandlerBehaviour | ... | @@ -131,7 +131,7 @@ public class OvsdbBridgeConfig extends AbstractHandlerBehaviour |
131 | if (splits == null || splits.length < 1) { | 131 | if (splits == null || splits.length < 1) { |
132 | return null; | 132 | return null; |
133 | } | 133 | } |
134 | - IpAddress ipAddress = IpAddress.valueOf(splits[0]); | 134 | + IpAddress ipAddress = IpAddress.valueOf(splits[1]); |
135 | return new OvsdbNodeId(ipAddress, 0); | 135 | return new OvsdbNodeId(ipAddress, 0); |
136 | } | 136 | } |
137 | 137 | ... | ... |
... | @@ -129,7 +129,7 @@ public class OvsdbTunnelConfig extends AbstractHandlerBehaviour | ... | @@ -129,7 +129,7 @@ public class OvsdbTunnelConfig extends AbstractHandlerBehaviour |
129 | if (splits == null || splits.length < 1) { | 129 | if (splits == null || splits.length < 1) { |
130 | return null; | 130 | return null; |
131 | } | 131 | } |
132 | - IpAddress ipAddress = IpAddress.valueOf(splits[0]); | 132 | + IpAddress ipAddress = IpAddress.valueOf(splits[1]); |
133 | return new OvsdbNodeId(ipAddress, 0); | 133 | return new OvsdbNodeId(ipAddress, 0); |
134 | } | 134 | } |
135 | 135 | ... | ... |
-
Please register or login to post a comment