]> git.proxmox.com Git - mirror_iproute2.git/commit
ip route: Add protocol, table id and device to dump request
authorDavid Ahern <dsahern@gmail.com>
Fri, 19 Oct 2018 22:41:39 +0000 (15:41 -0700)
committerDavid Ahern <dsahern@gmail.com>
Thu, 27 Dec 2018 23:33:59 +0000 (15:33 -0800)
commitc7e6371bc4afe6d42700d3174a6c56cba5833844
tree56630fcf59f07f5a4d268180a54adc794743e32a
parent43fd93ae46ad223dd558e00169a05c9b5b617b64
ip route: Add protocol, table id and device to dump request

Add protocol, table id and device to dump request if set in filter. If
kernel side filtering is supported it is used to reduce the amount of
data sent to userspace.

Older kernels do not parse attributes on a route dump request, so these
are silently ignored and ip will do the filtering in userspace.

Signed-off-by: David Ahern <dsahern@gmail.com>
ip/iproute.c