diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-07-12 03:01:13 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-07-12 03:01:13 +0000 |
commit | aad270b0d364be6877db5d40ae77209813cd3040 (patch) | |
tree | d0fb9e8e6184b4914d7265ee7467235059dd619e /sbin | |
parent | 51a43a3f4dbeb4c36b87ca2d29fdc0214639c318 (diff) |
rev 1.298
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).
From brian FreeBSD
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions