Date: Fri, 30 Apr 2004 15:34:12 -0700 (PDT) From: Doug Ambrisko <ambrisko@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/ifconfig ifconfig.c src/sbin/route route.c Message-ID: <200404302234.i3UMYCU8067995@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404302234.i3UMYCU8067995>
