Refactoring addProcessor() calls to use type methods
Change-Id: Ib38cc5122a9d9a8cbaafec593eb3eb32a795a28f
diff --git a/src/main/java/org/onosproject/aaa/AAA.java b/src/main/java/org/onosproject/aaa/AAA.java
index f46c2fc..c386365 100644
--- a/src/main/java/org/onosproject/aaa/AAA.java
+++ b/src/main/java/org/onosproject/aaa/AAA.java
@@ -204,7 +204,7 @@
// "org.onosproject.aaa" is the FQDN of our app
appId = coreService.registerApplication("org.onosproject.aaa");
// register our event handler
- packetService.addProcessor(processor, PacketProcessor.ADVISOR_MAX + 2);
+ packetService.addProcessor(processor, PacketProcessor.director(2));
requestIntercepts();
// Instantiate the map of the state machines
stateMachineMap = Collections.synchronizedMap(Maps.newHashMap());