l4 match parsing should not try to consume the whole input, otherwise
it breaks cli such as:
'classify session ... match l4 dst_port 22 action set-ip4-fib-id 2'
Type: fix
Change-Id: I81a1b5779811f7df8286a371f85fafe09c947b87
Signed-off-by: Benoît Ganne <bganne@cisco.com>
else if (unformat (input, "dst_port %d", &dst_port))
;
else
else if (unformat (input, "dst_port %d", &dst_port))
;
else
}
h.src_port = clib_host_to_net_u16 (src_port);
}
h.src_port = clib_host_to_net_u16 (src_port);