lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 11 Dec 2019 10:23:45 -0700 From: David Ahern <dsahern@...il.com> To: Paolo Lungaroni <paolo.lungaroni@...t.it>, netdev@...r.kernel.org Subject: Re: [PATCH iproute2 net-next] add support for table name in SRv6 End.DT* behaviors On 12/6/19 11:11 AM, Paolo Lungaroni wrote: > it allows to specify also the table name in addition to the table number in > SRv6 End.DT* behaviors. > > To add an End.DT6 behavior route specifying the table by name: > > $ ip -6 route add 2001:db8::1 encap seg6local action End.DT6 table main dev eth0 > > The ip route show to print output this route: > > $ ip -6 route show 2001:db8::1 > 2001:db8::1 encap seg6local action End.DT6 table main dev eth0 metric 1024 pref medium > > The JSON output: > $ ip -6 -j -p route show 2001:db8::1 > [ { > "dst": "2001:db8::1", > "encap": "seg6local", > "action": "End.DT6", > "table": "main", > "dev": "eth0", > "metric": 1024, > "flags": [ ], > "pref": "medium" > } ] > > Signed-off-by: Paolo Lungaroni <paolo.lungaroni@...t.it> > --- > ip/iproute_lwtunnel.c | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > applied to iproute2-next. Thanks
Powered by blists - more mailing lists