1.Seperate radiusPort from radiusServerPort;2.changed the match string from 1812 to radiusServerPort
Change-Id: Ifcf76243177eb33cd96c992f89b5bff6a8f1274f
diff --git a/src/main/java/org/opencord/aaa/AaaManager.java b/src/main/java/org/opencord/aaa/AaaManager.java
index 2fec41c..f945ebc 100755
--- a/src/main/java/org/opencord/aaa/AaaManager.java
+++ b/src/main/java/org/opencord/aaa/AaaManager.java
@@ -169,7 +169,7 @@
try {
radiusSocket = new DatagramSocket(null);
radiusSocket.setReuseAddress(true);
- radiusSocket.bind(new InetSocketAddress(radiusServerPort));
+ radiusSocket.bind(new InetSocketAddress((int) radiusPort));
} catch (Exception ex) {
log.error("Can't open RADIUS socket", ex);
}