commit | 712ec05ba9565a11d9efe05ef9403bcc08349618 | [log] [tgz] |
---|---|---|
author | Jian Li <pyguni@gmail.com> | Tue Nov 22 03:23:54 2016 +0900 |
committer | Thomas Vachuska <tom@onlab.us> | Wed Nov 30 18:32:05 2016 +0000 |
tree | 086ed2905bfe829889f5268646f9f517ad40f335 | |
parent | 9cf536b4ea66e5d4e08be830f8c194706cace63e [diff] [blame] |
[ONOS-5688] Make LISP authKey and authKeyId be configurable Change-Id: I8262cc1791e064547e79cb9a3cb58e99feec50b1
diff --git a/protocols/lisp/ctl/src/main/java/org/onosproject/lisp/ctl/LispChannelHandler.java b/protocols/lisp/ctl/src/main/java/org/onosproject/lisp/ctl/LispChannelHandler.java index 5f809bf..2a7b740 100644 --- a/protocols/lisp/ctl/src/main/java/org/onosproject/lisp/ctl/LispChannelHandler.java +++ b/protocols/lisp/ctl/src/main/java/org/onosproject/lisp/ctl/LispChannelHandler.java
@@ -57,7 +57,7 @@ } if (msg instanceof LispMapRegister) { - LispMapServer mapServer = new LispMapServer(); + LispMapServer mapServer = LispMapServer.getInstance(); LispMapNotify mapNotify = mapServer.processMapRegister((LispMapRegister) msg); @@ -65,7 +65,7 @@ } if (msg instanceof LispInfoRequest) { - LispMapServer mapServer = new LispMapServer(); + LispMapServer mapServer = LispMapServer.getInstance(); LispInfoReply infoReply = mapServer.processInfoRequest((LispInfoRequest) msg); ctx.writeAndFlush(infoReply);