We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 684f8d5 commit d7285b1Copy full SHA for d7285b1
1 file changed
src/services/pcn-iptables/src/ChainRule.cpp
@@ -176,6 +176,20 @@ bool ChainRule::equal(ChainRule &cmp) {
176
return false;
177
}
178
179
+ if (inIfaceIsSet != cmp.inIfaceIsSet)
180
+ return false;
181
+ if (inIfaceIsSet) {
182
+ if (inIface != cmp.inIface)
183
184
+ }
185
+
186
+ if (outIfaceIsSet != cmp.outIfaceIsSet)
187
188
+ if (outIfaceIsSet) {
189
+ if (outIface != cmp.outIface)
190
191
192
193
if (actionIsSet != cmp.actionIsSet)
194
195
0 commit comments