VOL-444 : Removed the modification of username in SamplePacketCustomizer
Change-Id: Icbe1f24be93a826c2e14c8e759cb9c5e2d7f42c7
(cherry picked from commit f66d0dbc8b3c979ddb297b7cf8b6278c52af4329)
diff --git a/src/main/java/org/opencord/aaa/SamplePacketCustomizer.java b/src/main/java/org/opencord/aaa/SamplePacketCustomizer.java
index 5e1bad5..358890e 100755
--- a/src/main/java/org/opencord/aaa/SamplePacketCustomizer.java
+++ b/src/main/java/org/opencord/aaa/SamplePacketCustomizer.java
@@ -90,10 +90,7 @@
}
String nodeName = deviceInfo.nasId();
- log.info("Setting user={} nasId={} nasPort{}", srcMac, nodeName,
- nasPortId);
- inPkt.updateAttribute(RADIUSAttribute.RADIUS_ATTR_USERNAME,
- srcMac.toString().getBytes());
+ log.info("Setting nasId={} nasPortId{}", nodeName, nasPortId);
inPkt.updateAttribute(RADIUSAttribute.RADIUS_ATTR_NAS_IP,
deviceInfo.ipAddress().toOctets());