cvs commit: src/sbin/ifconfig ifconfig.c src/sbin/route route.c
Doug Ambrisko
ambrisko at FreeBSD.org
Fri Apr 30 15:34:13 PDT 2004
ambrisko 2004/04/30 15:34:12 PDT
FreeBSD src repository
Modified files:
sbin/ifconfig ifconfig.c
sbin/route route.c
Log:
For both ifconfig and route if we didn't get enough memory from the
prior sysctl due to the structure growing between calls try again.
Also try again for deleting routes if things fail. We've seen
route -f fail this way which does not actually flush all routes.
This fixes it. It will whine but it will do the work.
PR: 56732
Obtained from: IronPort
Revision Changes Path
1.104 +10 -2 src/sbin/ifconfig/ifconfig.c
1.73 +22 -4 src/sbin/route/route.c
More information about the cvs-all
mailing list