cvs commit: src/usr.sbin/ppp command.c

From: Brian Somers <brian_at_FreeBSD.org>
Date: Sun, 18 Jul 2004 01:02:23 +0000 (UTC)
brian       2004-07-18 01:02:23 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_4)
    usr.sbin/ppp         command.c 
  Log:
  MFC: 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).
  
  Revision    Changes    Path
  1.230.2.22  +1 -1      src/usr.sbin/ppp/command.c
Received on Sun Jul 18 2004 - 01:02:24 UTC