commit | a137692e108ca573683572a2f6fad95fffd5617d | [log] [tgz] |
---|---|---|
author | Matt Jeanneret <mj3580@att.com> | Wed Nov 28 10:59:35 2018 -0500 |
committer | Matt Jeanneret <mj3580@att.com> | Wed Nov 28 10:59:35 2018 -0500 |
tree | 2ac1d797d9e5913591f657a1b4fdbac5a03fe260 | |
parent | e72358a2197b178e0bdc97577a1137c8d7b68a92 [diff] |
Bugfix: Use non-string for calling-station-id Do not toString the mac address used for calling-station-id, use binary/hex representation. Change-Id: If3965f42000da34fd018b2cb930f4100add7bd5d
diff --git a/src/main/java/org/opencord/aaa/SamplePacketCustomizer.java b/src/main/java/org/opencord/aaa/SamplePacketCustomizer.java index 6130073..f710e0d 100755 --- a/src/main/java/org/opencord/aaa/SamplePacketCustomizer.java +++ b/src/main/java/org/opencord/aaa/SamplePacketCustomizer.java
@@ -104,7 +104,7 @@ } inPkt.setAttribute(RADIUSAttribute.RADIUS_ATTR_CALLING_STATION_ID, - srcMac.toString().getBytes()); + srcMac.toBytes()); // Check value - 16 was used in PoC2, as per PoC3 TS value should be 15 inPkt.setAttribute(RADIUSAttribute.RADIUS_ATTR_NAS_PORT_TYPE,