CordMcast clears remote routes on startup to prevent being out of sync.
It also reads existing routes on startup.
Change-Id: I13b8ffae2b57d1e82181a8a745bda185d56f368d
diff --git a/src/main/java/org/onosproject/igmp/IgmpSnoop.java b/src/main/java/org/onosproject/igmp/IgmpSnoop.java
index 19bd221..f6be857 100644
--- a/src/main/java/org/onosproject/igmp/IgmpSnoop.java
+++ b/src/main/java/org/onosproject/igmp/IgmpSnoop.java
@@ -179,12 +179,11 @@
@Activate
public void activate(ComponentContext context) {
+ componentConfigService.registerProperties(getClass());
modified(context);
appId = coreService.registerApplication("org.onosproject.igmp");
- componentConfigService.registerProperties(getClass());
-
packetService.addProcessor(processor, PacketProcessor.director(1));
networkConfig.registerConfigFactory(configFactory);