mirror_iproute2/misc
Thayne McCombs c7897ec2a6 ss: Make leading ":" always optional for sport and dport
The sport and dport conditions in expressions were inconsistent on
whether there should be a ":" at the beginning of the port when only a
port was provided depending on the family. The link and netlink
families required a ":" to work. The vsock family required the ":"
to be absent. The inet and inet6 families work with or without a leading
":".

This makes the leading ":" optional in all cases, so if sport or dport
are used, then it works with a leading ":" or without one, as inet and
inet6 did.

Signed-off-by: Thayne McCombs <astrothayne@gmail.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
2021-02-14 22:09:37 -07:00
..
.gitignore make yacc usage POSIX compatible 2020-01-20 09:43:22 -08:00
arpd.c libnetlink: Add filter function to rtnl_neighdump_req 2019-01-04 12:17:11 -08:00
ifstat.c misc: fix compiler warning in ifstat and nstat 2020-11-29 16:20:31 -08:00
lnstat_util.c lnstat_util: Make sure buffer is NUL-terminated 2017-09-01 12:10:54 -07:00
lnstat.c lnstat: use same version as iproute2 2020-08-03 10:02:47 -07:00
lnstat.h lnstat: use same version as iproute2 2020-08-03 10:02:47 -07:00
Makefile ss: add checks for bc filter support 2020-05-13 14:28:38 +00:00
nstat.c misc: fix compiler warning in ifstat and nstat 2020-11-29 16:20:31 -08:00
rtacct.c replace SNAPSHOT with auto-generated version string 2020-08-03 10:02:47 -07:00
ss_util.h ss: add checks for bc filter support 2020-05-13 14:28:38 +00:00
ss.c ss: Make leading ":" always optional for sport and dport 2021-02-14 22:09:37 -07:00
ssfilter_check.c ss: add checks for bc filter support 2020-05-13 14:28:38 +00:00
ssfilter.h ss: add checks for bc filter support 2020-05-13 14:28:38 +00:00
ssfilter.y ss: add checks for bc filter support 2020-05-13 14:28:38 +00:00