Commit Graph

33 Commits

Author SHA1 Message Date
matt 5f53a93d2f Use the new BRDGGIFS and BRDGRTS cmds which just use ifdrv directly. 2015-06-01 06:15:18 +00:00
joerg d8413b896e constness doesn't increase by applying more const. 2015-05-28 20:14:00 +00:00
matt c142b6df31 Constify an array of strings. 2015-05-28 01:35:31 +00:00
msaitoh 27d20d98fc Add missing "addr" and "static" commands. 2015-01-05 00:36:23 +00:00
drochner 0065310310 the address expire counter is just a time difference; it can turn
negative after the timer expired until the entry is deleted.
make it signed, so that we don't get output like
"00:1b:78:12:50:46 wm0 18446744073709551349 flags=0<>"
2012-08-23 12:06:32 +00:00
joerg 693655118a static + __dead 2011-08-29 14:29:21 +00:00
lukem 07f7688506 fix sign-compare issues 2009-03-16 12:56:19 +00:00
wiz fbe3512d50 Bump date for previous. 2007-01-08 07:22:12 +00:00
isaki 577b5df548 Sync with reality. The default timeout is 1200 sec. 2007-01-07 08:53:04 +00:00
reed 09fde137ce Mention pfil(9). Reword slightly for "ipf" option as filters IPv6
also (and ICMP is implied) and that other types are blocked.

Point to pf(4) and pfil man pages.

Based on discussion in January 2006 on tech-kern.  (This has been
in my tree for around 11 months.)

This part of my work to change this (and related to use) pfil (instead
of ipf). That is done back then but needs some testing.
2006-12-14 02:50:12 +00:00
pooka 1cacfd0524 lower value mean higher priority for bridges
+ fix off-by-one

Tobias Nygren, bin/34781
2006-10-11 13:16:39 +00:00
christos db7722d2a7 Coverity CID 774: Don't increment a pointer *before* testing it for NULL! 2006-03-20 01:06:07 +00:00
wiz ee0b10a017 Improve a sentence. 2006-01-12 21:49:11 +00:00
agc 740e4e64dd Minor fix - correct a typo 2006-01-11 23:07:22 +00:00
christos 2c6eadc9ce Move WARNS=3 to the Makefile.inc, and add a little const to the remaining
programs that did not compile before.
2005-06-27 01:00:04 +00:00
yamt 89b983894d remove IFFBITS definition. now net/if.h has it.
PR/29748 from FUKAUMI Naoki.
2005-03-20 15:34:47 +00:00
xtraeme 7fb01f0f08 Remove main() prototype; WARNS=3 2005-01-20 15:47:51 +00:00
dsl 28793e3d2c Add (unsigned char) to isdidgit call 2004-10-28 19:40:47 +00:00
itojun 731ae88ecd realloc pedant 2003-09-19 08:35:15 +00:00
agc c2a3b5ec84 Add NetBSD RCS Ids. 2003-06-23 11:53:35 +00:00
wiz 57af6bd854 Remove superfluous +. From FUKAUMI Naoki in PR 21390. 2003-04-29 16:39:00 +00:00
wiz 3d147c386a Bump date for last change; new sentence, new line. 2003-03-19 10:37:55 +00:00
bouyer 4a3c894eef Fix 2 bugs:
- initialise stp when the bridge is turned up, without this stp will keep
  all interfaces disabled in a sequence like:
  brconfig bridge0 add if0 add if1 stp if0 stp if1 up
- s/BRDGSPRI/BRDGSIFPRIO in brconfig.c:cmd_ifpriority()

add a command (ifpathcost) to change the stp path cost of the STP path cost of
an interface. Display the interface path cost with the others STP parameters.
2003-03-19 10:34:33 +00:00
wiz 049950fd97 New sentence, new line. 2003-03-03 06:50:18 +00:00
perseant eab869e1c0 Make BRIDGE_IPF an option, and document it. Add it (commented) to GENERIC.
Let brconfig tell whether the bridge is using the ipfilter hook, or not.
2003-02-27 19:22:36 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
perseant 6b857c229e Add ipf packet-filtering option to if_bridge. The option is controlled at
compile-time by BRIDGE_IPF, and at runtime by brconfig with the {ipf,-ipf}
option on a per-bridge basis.

As a side-effect, add PFIL_HOOKS processing to if_bridge.
2003-02-15 00:46:30 +00:00
enami 09fa660ec0 Fix typo in error message. 2002-11-06 05:26:54 +00:00
enami 45fd33fa87 Fix typo. 2002-11-06 05:23:57 +00:00
wiz 2fb4b1db52 New sentence, new line. By Robert Elz with minimal fixes. 2002-10-01 13:40:23 +00:00
wiz 875bfce8db Sort sections, use standard section headers. 2001-11-16 11:26:53 +00:00
wiz 4ce43ae0cd Whitespace nits 2001-11-16 10:25:42 +00:00
thorpej 7ac7787048 Configuration utility for bridge(4) devices. 2001-08-17 21:42:10 +00:00