X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=nexthopmgr%2Fnexthopmgr-impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fvpnservice%2Fnexthopmgr%2FNexthopManager.java;h=450f59c6fd3d049ccc3049a3c82866735b53dad2;hb=49a5bcd8f91f546eef0cc465a5692224f26b877c;hp=5c0184eba734fc3ab6e19738b04c5f0629e3cb1b;hpb=2ccb70accdd075712be8a38e812c2aefa3e2fdfc;p=vpnservice.git diff --git a/nexthopmgr/nexthopmgr-impl/src/main/java/org/opendaylight/vpnservice/nexthopmgr/NexthopManager.java b/nexthopmgr/nexthopmgr-impl/src/main/java/org/opendaylight/vpnservice/nexthopmgr/NexthopManager.java index 5c0184eb..450f59c6 100644 --- a/nexthopmgr/nexthopmgr-impl/src/main/java/org/opendaylight/vpnservice/nexthopmgr/NexthopManager.java +++ b/nexthopmgr/nexthopmgr-impl/src/main/java/org/opendaylight/vpnservice/nexthopmgr/NexthopManager.java @@ -226,7 +226,7 @@ public class NexthopManager implements L3nexthopService, AutoCloseable { List matches = new ArrayList(); List mkInstructions = new ArrayList(); if (NwConstants.ADD_FLOW == addOrRemoveFlow) { - interfaceManager.getPortForInterface(ifName); + portNo = interfaceManager.getPortForInterface(ifName); matches.add(new MatchInfo(MatchFieldType.in_port, new long[] { dpId, portNo })); mkInstructions.add(new InstructionInfo(InstructionType.goto_table, new long[] {LFIB_TABLE}));