route -Wall

2013-07-19 Thread Alexander Bluhm
Hi, Can we compile /sbin/route with -Wall enabled? ok? bluhm Index: sbin/route/Makefile === RCS file: /data/mirror/openbsd/cvs/src/sbin/route/Makefile,v retrieving revision 1.12 diff -u -p -r1.12 Makefile --- sbin/route/Makefile 4

Re: Merge uhts(4) into ums(4).

2013-07-19 Thread Edd Barrett
On Thu, Jul 18, 2013 at 09:25:46PM +0059, Jason McIntyre wrote: you want a space before the full stop (above) and zap this blank line the Nd should match exactly, so either change suuport in the man page, or devices here Cheers. Revised diff: Index: share/man/man4/ums.4

route rmx_expire time_t

2013-07-19 Thread Alexander Bluhm
Hi, For 64 bit time_t the routing message rmx_expire field has to be changed from u_int to int64_t. I will do that after ABI unlock. I would like to prepare the /sbin/route source for this change. ok? bluhm Index: sbin/route/route.c

arp expire time

2013-07-19 Thread Alexander Bluhm
Hi, I found more int expire_time that should be time_t in arp and rarpd. ok? bluhm Index: usr.sbin/arp/arp.c === RCS file: /data/mirror/openbsd/cvs/src/usr.sbin/arp/arp.c,v retrieving revision 1.52 diff -u -p -u -p -r1.52 arp.c

arp rarpd ndp warnings

2013-07-19 Thread Alexander Bluhm
Hi, Enable gcc warnings for arp, rarpd, ndp and fix findings. ok? bluhm Index: usr.sbin/arp/Makefile === RCS file: /data/mirror/openbsd/cvs/src/usr.sbin/arp/Makefile,v retrieving revision 1.3 diff -u -p -u -p -r1.3 Makefile ---

route warnings

2013-07-19 Thread Alexander Bluhm
Hi, Enable WARNINGS=Yes for route and fix findings. Avoid shadowing for routing socket and use global variable af. ok? bluhm Index: sbin/route/Makefile === RCS file: /data/mirror/openbsd/cvs/src/sbin/route/Makefile,v retrieving

Re: arp rarpd ndp warnings

2013-07-19 Thread Marc Espie
On Sat, Jul 20, 2013 at 12:40:47AM +0200, Alexander Bluhm wrote: Hi, Enable gcc warnings for arp, rarpd, ndp and fix findings. ok? bluhm Index: usr.sbin/arp/Makefile === RCS file: