Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jul 2004 09:42:17 +0000 (UTC)
From:      Brian Somers <brian@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/ppp command.c
Message-ID:  <200407150942.i6F9gH1Y049408@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@alcatel.com.au>
  MFC after:      3 days
  
  Revision  Changes    Path
  1.298     +1 -1      src/usr.sbin/ppp/command.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407150942.i6F9gH1Y049408>