On Fri, Jul 15, 2016 at 11:11 PM, Vadim Kochan <[email protected]> wrote:
> Set default ip proto field to IPPROTO_IPV6(0x41) if the higher protocol
> was specified as ipv6().
>
> Signed-off-by: Vadim Kochan <[email protected]>
> ---
>  trafgen_l3.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/trafgen_l3.c b/trafgen_l3.c
> index ae3f136..012321f 100644
> --- a/trafgen_l3.c
> +++ b/trafgen_l3.c
> @@ -69,6 +69,9 @@ static void ipv4_set_next_proto(struct proto_hdr *hdr, enum 
> proto_id pid)
>         case PROTO_IP4:
>                 ip_proto = IPPROTO_IPIP;
>                 break;
> +       case PROTO_IP6:
> +               ip_proto = IPPROTO_IPV6;
> +               break;
>         case PROTO_ICMP4:
>                 ip_proto = IPPROTO_ICMP;
>                 break;
> --
> 2.6.3
>

Please drop this, I reworded commit message with proto=41.

-- 
You received this message because you are subscribed to the Google Groups 
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to