RPC registration for nexthop & actionbucket change
[vpnservice.git] / nexthopmgr / nexthopmgr-impl / src / main / java / org / opendaylight / vpnservice / nexthopmgr / NexthopManager.java
index ce11c4d4b19367b93502dac4193f2c93b98d2318..ab5b2772b4be21531ae5fe18df8d525712806c46 100644 (file)
@@ -165,7 +165,7 @@ public class NexthopManager implements L3nexthopService, AutoCloseable {
             BucketInfo bucket = new BucketInfo(listActionInfo);
             // MAC re-write
             if (macAddress != null) {
-                listActionInfo.add(new ActionInfo(ActionType.set_field_eth_dest, new String[]{macAddress}));
+               listActionInfo.add(0, new ActionInfo(ActionType.set_field_eth_dest, new String[]{macAddress}));
             } else {
                 //FIXME: Log message here.
             }