cvs commit: src/usr.sbin/ppp command.c
Brian Somers
brian at FreeBSD.org
Thu Jul 15 02:42:17 PDT 2004
brian 2004-07-15 09:42:17 UTC
FreeBSD src repository
Modified files:
usr.sbin/ppp command.c
Log:
Fix ``set ifaddr''. The code was actually using an uninitialised variable,
but conveniently, because ncpaddr.ncpaddr_family != AF_INET, the call to
ncpaddr_getip4addr() became a no-op leaving the local address as it was
(defaulting to whatever my hostname resolves to).
PR: 62050
Submitted by: Peter Jeremy <peter.jeremy at alcatel.com.au>
MFC after: 3 days
Revision Changes Path
1.298 +1 -1 src/usr.sbin/ppp/command.c
More information about the cvs-src
mailing list