Commit 7af48590 authored by Jeff Johnson's avatar Jeff Johnson Committed by Mike Frysinger

netstat: update SCTP support

The parsing logic doesn't handle IPv6 addresses.
Clean it all up.
parent 3bbfa090
......@@ -19,3 +19,5 @@ char *safe_strncpy(char *dst, const char *src, size_t size);
#define netmin(a,b) ((a)<(b) ? (a) : (b))
#define netmax(a,b) ((a)>(b) ? (a) : (b))
#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment