Add missing LIBUTIL for dependencies.
Subsystems (3)
PATCH 1/2 Add missing LIBUTIL for dependencies.
Signed-off-by John Heffner <[email protected]>
--- Makefile | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
Makefile +2 -1
@@ -29,7 +29,8 @@ LDLIBS += -L../lib -lnetlink -lutil SUBDIRS=lib ip tc misc netem genl -LIBNETLINK=../lib/libnetlink.a ../lib/libutil.a +LIBUTIL=../lib/libutil.a +LIBNETLINK=../lib/libnetlink.a $(LIBUTIL) all: Config @set -e; \
Signature · 1 line
1.5.3.rc4.29.g74276-dirty
PATCH 2/2 ss: parse bare integers are port numbers rather than IP addresses
Signed-off-by John Heffner <[email protected]>
--- misc/ss.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
misc/ss.c +4 -0
@@ -953,6 +953,10 @@ void *parse_hostcond(char *addr)memset (&a,0 ,sizeof (a)); a.port =-1 ; +/* Special case: integer by itself is considered a port number */ +if (!get_integer (&a.port, addr,0 )) + goto out; +if (fam ==AF_UNIX ||strncmp (addr,"unix:" ,5 ) ==0 ) {char *p; a.addr.family =AF_UNIX ;
Signature · 1 line
1.5.3.rc4.29.g74276-dirty