On 08/09/2017 04:43 PM, Stephen Hemminger wrote:
> Why is this not a table instead of code?
Fair point, will send a v2.
David
signature.asc
Description: OpenPGP digital signature
On Wed, 9 Aug 2017 15:17:00 +0200
David Lebrun wrote:
> +
> +static int read_action_type(const char *name)
> +{
> + if (strcmp(name, "End") == 0)
> + return SEG6_LOCAL_ACTION_END;
> + else if (strcmp(name, "End.X") == 0)
> + return SEG6_LOCAL_ACTION_END_X;
> +
This patch adds support for the seg6local lightweight tunnel
("ip route add ... encap seg6local ...").
Signed-off-by: David Lebrun
---
ip/iproute.c | 2 +-
ip/iproute_lwtunnel.c | 238 ++
2 files changed, 239 insertions(+), 1 deletion(-)