Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "* fix : yang-generator can't find SIE if its base is another SIE"
[controller.git]
/
opendaylight
/
arphandler
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
arphandler
/
internal
/
ArpHandler.java
diff --git
a/opendaylight/arphandler/src/main/java/org/opendaylight/controller/arphandler/internal/ArpHandler.java
b/opendaylight/arphandler/src/main/java/org/opendaylight/controller/arphandler/internal/ArpHandler.java
index 8c91c71533a19282c9f1c48e8697dd3f81d181ee..8ae038c30f38bb38410b1c093c7a7a6b791ca507 100644
(file)
--- a/
opendaylight/arphandler/src/main/java/org/opendaylight/controller/arphandler/internal/ArpHandler.java
+++ b/
opendaylight/arphandler/src/main/java/org/opendaylight/controller/arphandler/internal/ArpHandler.java
@@
-461,6
+461,11
@@
public class ArpHandler implements IHostFinder, IListenDataPacket, ICacheUpdateA
log.debug("Can't find subnet matching {}, drop packet", dIP);
return;
}
log.debug("Can't find subnet matching {}, drop packet", dIP);
return;
}
+ // If packet is sent to the default gw (us), ignore it for now
+ if (subnet.getNetworkAddress().equals(dIP)) {
+ log.trace("Ignore IP packet destined to default gw");
+ return;
+ }
// see if we know about the host
// Hosttracker hosts db key implementation
// see if we know about the host
// Hosttracker hosts db key implementation