| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
one functional change (fixed exit status from the "get" operation).
|
|
|
|
|
|
|
| |
made arp(8) command exit status reversed for -s and -S.
Reported by: sem
MFC after: 2 weeks
|
|
|
|
|
|
| |
Submitted by: ru
o Reduce an amount of memory we ask in advance.
|
|
|
|
|
|
|
|
| |
An approach taken from killall/killall.c.
PR: bin/76075
Submitted by: Dmitrij Tejblum
MFC after: 3 weeks
|
|
|
|
|
|
|
|
| |
(Broken in rev. 1.52.)
PR: 75471
Submitted by: Jon Simola
MFC after: 3 days
|
|
|
|
| |
from Berkeley.
|
| |
|
|
|
|
|
| |
Reviewed by: md5
Approved by: das (mentor)
|
|
|
|
|
|
|
|
| |
pass function arguments and results.
Hopefully no functional changes except fixing a couple of
bugs which could cause endless loops if an ioctl() on an
interface would fail.
|
| |
|
|
|
|
|
|
|
|
| |
Remove global variables in favour of local ones.
Fix indentation of a couple of switch statements.
Overall, this program badly need cleaning up, as it relies
on information passed around through global variables.
|
|
|
|
|
|
| |
- Handle empty ARP tables properly.
- Remove register keyword.
- arp(8) is WARNS?=4 clean, so mark it as such to avoid regressions.
|
|
|
|
|
|
|
|
|
|
|
| |
the scope of operation to the ARP entries on a particular
interface. It should be useful on machines with numerous
network interfaces, e.g., on inter-VLAN routers.
PR: bin/54151
Submitted by: Dmitry Morozovsky <marck at rinet.ru>
Discussed on: -net
MFC after: 2 weeks
|
| |
|
|
|
|
| |
Prompted by: Eugene Grosbein <eugen@kuzbass.ru>
|
| |
|
|
|
|
|
|
|
|
| |
argument, leading whitespace and empty lines be ignored, and
the `#' character marks the rest of the line as a comment.
PR: bin/45958
MFC after: 3 days
|
|
|
|
| |
Submitted by: Bruce "Allah" Dang <bruce@research.teamxor.org>
|
|
|
|
|
|
|
|
|
|
|
| |
#include route.h before iso88025.h, and we have to dereference
the trld_route array correctly. (NOTE: I'm not altogether sure
that this is really the correct way to traverse this array. This
just eliminates the build warning/error. It may not work right at
runtime, and I have no way to test it since I lack the necessary
hardware.)
Broken by: kbyanc, who gets to wear the pointy hat
|
|
|
|
|
|
|
| |
location.
Not tested by: me (sorry!)
Sponsored by: NTT Multimedia Communications Labs
|
|
|
|
| |
statement.
|
|
|
|
|
|
| |
to print leading zeros in libc_net/ether_addr.c,v 1.13.
MFC after: 3 days
|
|
|
|
| |
pollution from <strings.h>.
|
|
|
|
|
|
|
| |
the correct local variable.
Caught by: Joachim Isaksson <Joachim.Isaksson@algitech.com>
Pointy hat to: mikeh
|
|
|
|
|
| |
Submitted by: Maxime Henrion <mux@qualys.com>
MFC after: 2 weeks
|
| |
|
|
|
|
|
| |
Prodded by: Igor Podlesny <poige@morning.ru>
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to be consistent with the -s flag. Updated documentation
on what this modifier does.
- Added the ``only'' keyword to the -s and -S flags, that
could be used to created "proxy-only" published entries.
Previously, arp(8) created an entry of this type only
in the absence of the route to a destination.
PR: bin/12357
MFC after: 1 week
|
|
|
|
|
|
| |
PR: bin/27001
Submitted by: alex <ml-freebsd-net@phobgate.de>,
Matthew Emmerton <matt@gsicomp.on.ca>
|
| |
|
|
|
|
|
|
| |
PR: bin/25584
Submitted by: David Xu <davidx@viasoft.com.cn>
Reviewed by: wollman, billf
|
| |
|
|
|
|
|
|
|
|
|
| |
when attempting to create a published ARP entry. For example:
# arp -s 1.1.1.1 auto pub
PR: bin/7753
Submitted by: Jonathan Hanna <pangolin@home.com>
|
|
|
|
|
|
| |
Specifically, ``proxy'' modifier tells the code to delete only
Proxy ARP entry for the ``hostname''; the usual ARP entry will
be unaffected by this operation.
|
|
|
|
| |
Add a note to that effect to the man page.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|