Fixed get index of ovsdb device ID

Change-Id: I4416718b7f9549cfa2635cb2b52174bf6318bf45
This commit is contained in:
Hyunsun Moon 2015-10-28 16:45:04 -07:00 committed by Ray Milkey
parent 9f4c9718b4
commit dbab8de617
2 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ public class OvsdbBridgeConfig extends AbstractHandlerBehaviour
if (splits == null || splits.length < 1) {
return null;
}
IpAddress ipAddress = IpAddress.valueOf(splits[0]);
IpAddress ipAddress = IpAddress.valueOf(splits[1]);
return new OvsdbNodeId(ipAddress, 0);
}

View File

@ -129,7 +129,7 @@ public class OvsdbTunnelConfig extends AbstractHandlerBehaviour
if (splits == null || splits.length < 1) {
return null;
}
IpAddress ipAddress = IpAddress.valueOf(splits[0]);
IpAddress ipAddress = IpAddress.valueOf(splits[1]);
return new OvsdbNodeId(ipAddress, 0);
}