]> The Tcpdump Group git mirrors - tcpdump/commit
Print square brackets around the tag value in RADIUS strings 404/head
authorHerwin Weststrate <[email protected]>
Mon, 1 Sep 2014 14:25:04 +0000 (16:25 +0200)
committerHerwin Weststrate <[email protected]>
Mon, 1 Sep 2014 14:25:04 +0000 (16:25 +0200)
commitd5b881df4993144818c4f08a8e70ad89daa7d70e
tree80db521b743efb3a3706f80ea2742c1ceb32dfc1
parent519d41dd8c8ac2a9668bbec53d98ab753df3415c
Print square brackets around the tag value in RADIUS strings

Before, VLAN attributes that had a tag 1 looked like this:

  Tunnel Medium Attribute (65), length: 6, Value: Tag[1]802
  Tunnel Private Group Attribute (81), length: 4, Value: Tag 14

With the Tunnel-Medium-Type attribute (65), it is clear where the tag ends and the value begins. With this patch, the value for a string type (like Tunnel-Private-Group-Id) looks similar:

  Tunnel Private Group Attribute (81), length: 4, Value: Tag[1]4
print-radius.c