Hello,

looks O.K. to me.

can you also do s/destinated/designated, when you are touching the
if_input_local() function already?

thanks and
regards
sasha

> ok?
> 
> bluhm
> 
> Index: net/if.c
> ===================================================================
> RCS file: /data/mirror/openbsd/cvs/src/sys/net/if.c,v
> retrieving revision 1.454
> diff -u -p -r1.454 if.c
> --- net/if.c  9 Oct 2016 20:05:10 -0000       1.454
> +++ net/if.c  13 Oct 2016 12:29:30 -0000
> @@ -665,7 +665,9 @@ if_input_local(struct ifnet *ifp, struct
>                       bpf_mtap_af(if_bpf, af, m, BPF_DIRECTION_OUT);
>       }
>  #endif
> +     m_resethdr(m);
>       m->m_pkthdr.ph_ifidx = ifp->if_index;
> +     m->m_pkthdr.ph_rtableid = ifp->if_rdomain;
>  
>       ifp->if_opackets++;
>       ifp->if_obytes += m->m_pkthdr.len;
> 

Reply via email to