| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
for more safety on alpha.
Approved by: jkh
|
| |
|
|
|
|
| |
Reviewed by: audit@freebsd.org
|
|
|
|
|
|
| |
It will be required if sizeof(struct sockaddr_in) changes in the future.
Not objected to by: wollman
|
|
|
|
|
|
| |
PR: 12847
Spotted by: Key Teck Sin <ktsin@acm.org>
Reviewed by: wollman
|
| |
|
|
|
|
|
|
|
|
|
| |
sizeof(ifr->ifr_addr) for the variable length field ifr->ifr_addr.sa_len.
Otherwise the increment will be wrong in certain cases.
Obtained from: Whistle source tree
For the record: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> suggests
SIOCGIFCONF should be dropped in favor of a sysctl mechanism.
|
|
|
|
|
|
|
|
| |
Move the Olicom token ring driver to the officially sanctionned location of
/sys/contrib. Also fix some brokenness in the generic token ring support.
Be warned that if_dl.h has been changed and SOME programs might
like recompilation.
|
| |
|
|
|
|
|
|
|
| |
allow teh -a option to work with the -d option
thus:
arp -d -a now flushes your arp cache.
also fix the -n option so that -an now works correctly.
|
|
|
|
| |
Obtained from: OpenBSD.
|
|
|
|
| |
set to something other than "/" now actually works.
|
|
|
|
| |
posix standard on the topic.
|
| |
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
| |
|
|
|
|
| |
conflict with the version in <net/ethernet.h>
|
|
|
|
|
|
| |
do it themselves. (Some of these programs actually depended on this
beyond compiling the definition of struct ifinfo!) Also fix up some
other #include messes while we're at it.
|
|
|
|
|
|
| |
fix return/exit codes in some cases.
Add -S which will delete any old entry first.
Add "auto" in proxy case, so it finds the right interface automatically.
|
|
|
|
|
|
|
|
|
| |
flag. The getopt handling in here is actually pretty bogus (not Phil's
fault - it's original sin) but the general approach is working so I'm not
going to break it. Some small tweaks of my own to add error checking to what
was originally submitted. Strange how nobody noticed that the flag was
documented but completely missing from the code before! [jkh].
Submitted by: Phil Taylor <phil@zipmail.co.uk>
|
| |
|
|
|