cvs commit: src/sys/net/pf

Joerg Sonnenberger joerg at
Sun Nov 14 09:28:24 PST 2004

joerg       2004/11/14 09:27:31 PST

DragonFly src repository

  Modified files:
    sys/net/pf           if_pflog.c 
  Fix an endian bug in pflog. The DragonFly version of PF uses the normal
  host byte order instead of network byte order as used by OpenBSD and
  FreeBSD. Normally the ether_output code converts this back, but for
  pflog, we shortcut these code. Therefore, before calling bpf_mtap, switch
  the byte order back to network order and revert it afterwards.
  Problem-reported-by: Erik P. Skaalerud
  Revision  Changes    Path
  1.2       +18 -5     src/sys/net/pf/if_pflog.c

More information about the Commits mailing list