invalidcomparison for mac object with interface obj

Change-Id: I37b1ef1e913827a43f5482f29f33de7b258d3c31
diff --git a/apps/routing/src/main/java/org/onosproject/routing/impl/ControlPlaneRedirectManager.java b/apps/routing/src/main/java/org/onosproject/routing/impl/ControlPlaneRedirectManager.java
index 817e11d..1e61cf6 100644
--- a/apps/routing/src/main/java/org/onosproject/routing/impl/ControlPlaneRedirectManager.java
+++ b/apps/routing/src/main/java/org/onosproject/routing/impl/ControlPlaneRedirectManager.java
@@ -659,7 +659,7 @@
             // Ignore interfaces if they are not on the router switch
             return;
         }
-        if (!prevIntf.vlan().equals(intf.vlan()) || !prevIntf.mac().equals(intf)) {
+        if (!prevIntf.vlan().equals(intf.vlan()) || !prevIntf.mac().equals(intf.mac())) {
             provisionInterface(prevIntf, false);
             provisionInterface(intf, true);
         } else {