-
Bug
-
Resolution: Unresolved
-
None
-
unspecified
-
None
-
Operating System: Linux
Platform: PC
-
3000
-
Normal
Since the ArpDecoder, Ipv4Decoder and Ipv6Decoder subscribe for Ethernet packets, on receiving an Ethernet packet, all 3 must receive the Ethernet packet. On adding logs, only the onEthernetPacketReceived(EthernetPacketReceived notification) in the ArpDecoder gets invoked. I added logs to obtain the notificationListeners in onNotificationSubscribtion(Class<? extends Notification> aClass) in class AbstractPacketDecoder, only the EthernetDecoder and ArpDecoder get listed. On commenting .add(new ArpDecoder(notificationProviderService)) in initiateDecoders(NotificationProviderService notificationProviderService) in PacketHandlerModule, the EthernetDecoder,Ipv4Decoder and Ipv6Decoder get listed as notificationListeners.
I am using the stable/helium version of l2switch.