Skip to content
Snippets Groups Projects
Commit b5d9e820 authored by Srinivasan Ramasubramanian's avatar Srinivasan Ramasubramanian
Browse files

New network addresses are learned only from ARP messages.

parent 66faff3f
No related branches found
No related tags found
No related merge requests found
......@@ -818,7 +818,7 @@ public class DeviceManagerImpl implements IDeviceManager, IOFMessageListener,
networkAddress = device.getNetworkAddress(nwSrc);
if (networkAddress != null) {
updateNetworkAddressLastSeen = true;
} else {
} else if (eth != null && (eth.getPayload() instanceof ARP)) {
networkAddress = new DeviceNetworkAddress(nwSrc,
currentDate);
newNetworkAddress = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment