nl(1)

2011-06-26 Thread Pascal Stumpf
This is a port of nl(1) from NetBSD, with fixes from FreeBSD (no multibyte char support though), required by POSIX. I'm not an mdoc(7) expert though, so there are probably still errors in the manpage. Cheers, Pascal Index: nl/Makefile

mark arp broadcasts in the mbuf

2011-06-26 Thread Camiel Dobbelaar
Mark ARP request broadcasts as such in the mbuf flags. FreeBSD and NetBSD both have this. Without this, bridge_output() drops ARP request broadcasts on interfaces without the discover flag: if ((p-bif_flags IFBIF_DISCOVER) == 0 (m-m_flags

ifconfig vlan diff

2011-06-26 Thread Camiel Dobbelaar
vlandev (parent) does not need to be physical, and can be changed on the fly now. Index: ifconfig.8 === RCS file: /cvs/src/sbin/ifconfig/ifconfig.8,v retrieving revision 1.216 diff -u -r1.216 ifconfig.8 --- ifconfig.8 13 Mar 2011

find(1): add support for terminating '+' in -exec

2011-06-26 Thread Pascal Stumpf
This is my first try at getting support for terminating '+' in find(1)'s -exec statement to work, as required by POSIX. Code shamelessly guttenberged from NetBSD, with some minor modifications. Index: extern.h === RCS file:

Re: mark arp broadcasts in the mbuf

2011-06-26 Thread Claudio Jeker
On Sun, Jun 26, 2011 at 07:52:18PM +0200, Camiel Dobbelaar wrote: Mark ARP request broadcasts as such in the mbuf flags. FreeBSD and NetBSD both have this. Without this, bridge_output() drops ARP request broadcasts on interfaces without the discover flag: if

include support for ospf6d config files

2011-06-26 Thread David Gwynne
this was surprisingly straightforward, i just copied it from ospfd. ok? Index: parse.y === RCS file: /cvs/src/usr.sbin/ospf6d/parse.y,v retrieving revision 1.20 diff -u -p -r1.20 parse.y --- parse.y 13 Dec 2010 13:43:37 -

clarify mount_ntfs

2011-06-26 Thread Ted Unangst
Remove some words that are not typically found in OpenBSD mount man pages. Write support is simply not going to happen, so we can summarize that situation much more succinctly. (and enforce readonly mounts in the program.) Index: mount_ntfs.8