Openstack interface comparison bug fix.

Change-Id: Ib66d894d4a55640ba398a37db6752e18254a9841
diff --git a/apps/openstackinterface/api/src/main/java/org/onosproject/openstackinterface/OpenstackSecurityGroupRule.java b/apps/openstackinterface/api/src/main/java/org/onosproject/openstackinterface/OpenstackSecurityGroupRule.java
index 1bc17a8..5934e3b 100644
--- a/apps/openstackinterface/api/src/main/java/org/onosproject/openstackinterface/OpenstackSecurityGroupRule.java
+++ b/apps/openstackinterface/api/src/main/java/org/onosproject/openstackinterface/OpenstackSecurityGroupRule.java
@@ -192,7 +192,7 @@
         if (this instanceof OpenstackSecurityGroupRule) {
             OpenstackSecurityGroupRule that = (OpenstackSecurityGroupRule) o;
             return this.direction.equals(that.direction) &&
-                    this.ethertype.equals(that.direction) &&
+                    this.ethertype.equals(that.ethertype) &&
                     this.id.equals(that.id) &&
                     this.portRangeMax == that.portRangeMax &&
                     this.portRangeMin == that.portRangeMin &&