DragonFly BSD
DragonFly commits List (threaded) for 2004-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/net/pf

From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 14 Nov 2004 09:27:31 -0800 (PST)

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


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]