pzolee / udpstat

Collecting data from the state of UDP buffers
15 stars 12 forks source link

Matching uppercase hexadecimal ports #1

Open bonobo78 opened 10 years ago

bonobo78 commented 10 years ago

hexport = "%x" % int(args[0])

Does not match uppercase lines return by /proc/net/udp

avisri commented 8 years ago

"%X" is the fix . I have a pull request https://github.com/avisri/udpstat/commit/b698137d9c91b9dffd5b95db92b9c0b1db95891a