bgpd: print AS range

2016-06-04 Thread Denis Fondras
With the support of AS range filtering, we need to print the configuration accordingly. Before : # bgpd -dnv [...] deny from any AS 0 deny from any AS 0 deny from any AS 65535 deny from any AS 0 deny from any AS 0 deny from any AS 0 deny from any AS 4294967295 After : # bgpd -dnv [...] deny

Re: bgpd: print AS range

2016-06-04 Thread Stuart Henderson
On 2016/06/04 22:13, Denis Fondras wrote: > With the support of AS range filtering, we need to print the configuration > accordingly. OK sthen@ > if (r->match.as.type) { > if (r->match.as.type == AS_ALL) > - printf("AS %s ", log_as(r->match.as.as)); > +

Re: more continue loops

2016-06-04 Thread Marcus Glocker
On Fri, Jun 03, 2016 at 08:20:57PM -0400, Ted Unangst wrote: > this is in sbin. i left csh and ksh in bin for some other brave soul. ok mglocker > Index: dump/main.c > === > RCS file: /cvs/src/sbin/dump/main.c,v > retrieving

continue merging rtwn and urtwn

2016-06-04 Thread Stefan Sperling
Another step on the long road towards merging these drivers. Copy r88e support code into ic/rtwn.c. This can't be tested until the USB driver starts making use of the shared rtwn.c file, but it's pretty straightforward. It turns out some functions won't benefit a lot from merging, mostly where

Re: ospf6d: add format attributes

2016-06-04 Thread Stefan Sperling
On Sat, Jun 04, 2016 at 06:51:37PM +0200, Sebastian Benoit wrote: > In ospf6d, add format attributes to the proper functions and then fix the > warning in rde.c > > ok? yup > > diff --git log.h log.h > index 0cc7403..8cccd8f 100644 > --- log.h > +++ log.h > @@ -23,14 +23,22 @@ > > void

Re: ospfd: add format attributes

2016-06-04 Thread Stefan Sperling
On Sat, Jun 04, 2016 at 06:45:53PM +0200, Sebastian Benoit wrote: > In ospfd, add format attributes to the proper functions and then fix the > warning in rde.c. > > ok? ok with me > > diff --git log.h log.h > index e0034e8..a682f67 100644 > --- log.h > +++ log.h > @@ -23,13 +23,21 @@ > >

Re: bgpd: print AS range

2016-06-04 Thread Peter Hessler
This didn't quite work, as log_as will override itself when used twice in the same printf. I also fixed some knf bits. On 2016 Jun 04 (Sat) at 22:13:07 +0200 (+0200), Denis Fondras wrote: :With the support of AS range filtering, we need to print the configuration :accordingly. : :Before : :#

OpenCVS bug on ssh 'broken pipe' error

2016-06-04 Thread Dongsheng Song
When ssh 'broken pipe' error occurred, cvs quit exit error 0. Here is my test script: # cat opencvs.sh #!/bin/ksh cd /usr/src echo "[`/bin/date "+%Y-%m-%dT%H:%M:%S%z"`] start cvs update /usr/src/" while true; do cvs -q -d anon...@anoncvs.comstyle.com:/cvs up -Pd rc=$? echo $rc

bgpd: add format attributes

2016-06-04 Thread Sebastian Benoit
Add format attributes to the proper functions and then fix the warning in session.c. ok? diff --git bgpd.h bgpd.h index 5fa046e..eaf93e6 100644 --- bgpd.h +++ bgpd.h @@ -989,15 +989,24 @@ struct in6_addr *prefixlen2mask6(u_int8_t prefixlen); /* log.c */ voidlog_init(int); void

ospfd: add format attributes

2016-06-04 Thread Sebastian Benoit
In ospfd, add format attributes to the proper functions and then fix the warning in rde.c. ok? diff --git log.h log.h index e0034e8..a682f67 100644 --- log.h +++ log.h @@ -23,13 +23,21 @@ void log_init(int); void log_verbose(int); -void logit(int, const char *, ...); -void vlog(int,

ospf6d: add format attributes

2016-06-04 Thread Sebastian Benoit
In ospf6d, add format attributes to the proper functions and then fix the warning in rde.c ok? diff --git log.h log.h index 0cc7403..8cccd8f 100644 --- log.h +++ log.h @@ -23,14 +23,22 @@ voidlog_init(int); voidlog_verbose(int); -voidlogit(int, const char *, ...); -void

HEADS UP: important tweaks in proot(1)

2016-06-04 Thread Marc Espie
By default, it now does unpopulate_light. I'm now reasonably confident the avoidance mechanisms for not deleting important stuff are good enough, so it will wipe chroots of anything that doesn't belong there. See the man page which was updated accordingly. Some fringe case scenarios may need to

Re: kern continue

2016-06-04 Thread Marcus Glocker
On Fri, Jun 03, 2016 at 09:31:27PM -0400, Ted Unangst wrote: > a few more here and there. ok mglocker > Index: ddb/db_examine.c > === > RCS file: /cvs/src/sys/ddb/db_examine.c,v > retrieving revision 1.21 > diff -u -p -r1.21