fix the register error caused by IetfTeTypes
Change-Id: I3a8bc12abc2c0f3ed70c93664c513bcd52a9466b
diff --git a/apps/tenbi/tunnel/src/main/java/org/onosproject/tenbi/tunnel/TeTunnelNbiManager.java b/apps/tenbi/tunnel/src/main/java/org/onosproject/tenbi/tunnel/TeTunnelNbiManager.java
index 38bd667..8814a1b 100755
--- a/apps/tenbi/tunnel/src/main/java/org/onosproject/tenbi/tunnel/TeTunnelNbiManager.java
+++ b/apps/tenbi/tunnel/src/main/java/org/onosproject/tenbi/tunnel/TeTunnelNbiManager.java
@@ -77,14 +77,14 @@
@Activate
protected void activate() {
ymsService.registerService(this, IetfTeService.class, null);
- ymsService.registerService(this, IetfTeTypes.class, null);
+ ymsService.registerService(null, IetfTeTypes.class, null);
log.info("started");
}
@Deactivate
protected void deactivate() {
ymsService.unRegisterService(this, IetfTeService.class);
- ymsService.unRegisterService(this, IetfTeTypes.class);
+ ymsService.unRegisterService(null, IetfTeTypes.class);
log.info("stopped");
}