Commit Graph

9641 Commits

Author SHA1 Message Date
joerg
1c58fc2576 While walking over the list of interfaces obtained from getifaddrs(3),
rarpd clobbered any AF_INET information already configured for a given
interface name, so interfaces with more than one IP address made rarpd
listen only for the last address out of all IP aliases.

I changed this, so that AF_LINK information is always collected first
(to ensure the interface name gets its link-layer address associated),
but while looking for AF_INET addresses, the configuration is cloned
if there has already been one IP address seen for that interface name.

Thus, rarpd now effectively listens on all subnets.

MFC after:	1 week
2004-04-20 13:58:14 +00:00
joerg
fcb8a7d803 Fix a typo. 2004-04-20 13:26:52 +00:00
murray
b2b71c6011 Update number of ports 2004-04-19 09:46:56 +00:00
njl
6e5024f5b5 Instead of using a static, check for the FADT revision before using it.
This fixes a bug where acpidump -d crashed (but not -t -d).

Submitted by:	Alex Vasylenko <lxv@omut.org>
2004-04-18 05:21:36 +00:00
brian
8f1eb09821 Add a missing memcpy (*blush*!)
Suggested by: James P Scully <scully@CS.Arizona.EDU>, Perianayagam Somasundaram <somu@CS.Arizona.EDU>
MFC after:	10 days
2004-04-17 00:29:17 +00:00
brueffer
f40c0ef4e9 o split a sentence to make it more understandable
o mention that the acctfile has to exist for accton to work [1]
o add reference to acct.5

PR:             65071 [1] (slightly modified)
Submitted by:   Marc Silver <marcs@draenor.org>
X-MFC after:	re approval
2004-04-16 09:31:17 +00:00
harti
360b53b9a2 Install the MIBs and the definition file to the new location under
/usr/share/snmp.

Noted by: bmah
2004-04-15 08:56:06 +00:00
harti
376040b33f Use a MANFILTER to patch the man pages to point to the right path.
Noted by: phk
2004-04-14 16:31:54 +00:00
harti
c9204f6495 Put the name of the module first in the list of all .Nm calls with
argument. This makes the output of calling .Nm without an argument
more senseful later on.
2004-04-14 16:11:05 +00:00
harti
48c5eee60f Compare with 0 if comparing an integer, not with NULL. 2004-04-14 16:09:20 +00:00
harti
7d1905e15b Move the SNMP MIBs and tree definitions from /usr/share/bsnmp to
/usr/share/snmp. This mirrors the use of /usr/local/share/snmp and
makes also more sense when non-bsnmp-specific MIBs go in.
2004-04-14 16:06:19 +00:00
fjoe
942f7be747 Fix examples. 2004-04-13 19:31:21 +00:00
fjoe
14d6c54105 Use ifconfig(8) for setting common 802.11 parameters.
Submitted by:	Stanislav A. Svirid <count@riss-telecom.ru>
2004-04-13 19:25:26 +00:00
luigi
7a125692f3 Massive cleanup of the code removing global variables to
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.
2004-04-13 14:16:37 +00:00
luigi
d4f4d3d662 Back out previous commit, it was unintentional.
Keep WARNS at 3 though the code does compile with WARNS=5 at least on i386

Noticed by: ru
2004-04-13 11:45:28 +00:00
luigi
ce58934c26 Replace ROUNDUP/ADVANCE with SA_SIZE 2004-04-13 11:24:43 +00:00
luigi
1321dcb1f2 Make functions and variables static.
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.
2004-04-13 08:34:52 +00:00
kensmith
c15884f591 Sync list of FTP sites with current reality.
MFC after:	1 day
Approved by:	rwatson (mentor)
2004-04-12 13:21:46 +00:00
emax
043ec21649 Start committing Bluetooth HID (Human Interface Device) support.
Note: bthidd(8) is still not complete. Need to commit kernel
support (a-la Linux /dev/input) to feed HID events into kernel.
Also need to write bthidd(8) and bthidd.conf(5) man pages.
2004-04-10 00:18:00 +00:00
emax
96b75c2267 Use uint instead of u_int 2004-04-09 23:58:53 +00:00
emax
3513d3a4bf Make sure Bluetooth stuff can be compiled on amd64
Submitted by:	ps
2004-04-09 23:01:42 +00:00
maxim
6e3cdee7a5 o SIOCGIFCONF->getifaddrs(2) conversion.
PR:		bin/9379
Obtained from:	NetBSD
2004-04-09 16:59:05 +00:00
mux
c13d7ea5a0 - Change several errx() calls that should have been err() calls.
- Handle empty ARP tables properly.
- Remove register keyword.
- arp(8) is WARNS?=4 clean, so mark it as such to avoid regressions.
2004-04-09 14:27:28 +00:00
kientzle
79523261f7 When invoking tar, make sure the mode option (-x) is first. 2004-04-08 06:06:42 +00:00
trhodes
7fbb598d35 This manual page will not first appear in 4.10 as RELENG_4 has a different
version of the adduser utility.

Noticed by:	simon
2004-04-07 22:16:04 +00:00
phk
ad426d20c2 Make WARNS=5 clean.
Prodded by:	Stefan Farfeleder <stefan@fafoe.narf.at>
2004-04-05 08:15:04 +00:00
dwmalone
5c9d10d927 The list of (key,value) pairs to request_init is terminated by a 0 key,
not NULL.

Submitted by:	Stefan Farfeleder <stefan@fafoe.narf.at>
MFC after:	3 days
2004-04-04 21:32:23 +00:00
charnier
b9ea41bd9e Add FBSDID. Use getopt(3). 2004-04-04 19:46:14 +00:00
charnier
50b61034c3 Add FBSDID. err(3) changed to errx(3) because there is no errno message
to print in this context.
2004-04-04 19:38:08 +00:00
charnier
94a732f585 2 small typos. 2004-04-04 19:30:07 +00:00
charnier
55f036c490 Do not :-terminate err(3) string, one will be added anyway. 2004-04-04 19:25:39 +00:00
dwmalone
dcbc9095f3 If the user doesn't specify a device and we can't open any of the defaults,
don't print an error using a uninitialised devbuf.
2004-04-01 16:37:46 +00:00
bms
ec79f6e2f0 Unbreak the build by dealing with an unexpected dependency on tcpdump source
present in ndp(8).

The vendor branch import uses a _U_ macro to apply the GCC 'unused' attribute
to the rcs ids embedded in each source file.  Teach ndp about this.
2004-03-31 20:58:39 +00:00
bms
37a21337e3 Fix regression in setkey whereby parser would fail to recognise tcp as
both a security protocol and an upper level protocol for encapsulation.

PR:		bin/63616
Submitted by:	ume@
2004-03-31 18:38:02 +00:00
bms
495c505dca Merge of tcpdump 3.8.3 from tcpdump.org. 2004-03-31 15:00:44 +00:00
trhodes
49277b7d21 Fix today's faux pas by:
Removing the -compact option passed to .Bl macro to avoid useless .Pp macros;
Adding a missing period;
Using .Xr with .Nd since makewhatis(1) has no support for cases where the Xref is absent.

Informed by:	ru
2004-03-30 22:31:22 +00:00
trhodes
cd25cf2e3d Add an adduser.conf manual page.
Hook it to the build in Makefile.
Xref from adduser.8.
Update adduser.8's BUGS section.
Bump the date on adduser.8.
2004-03-30 21:50:42 +00:00
cperciva
9bcb03de8f Synopsis fixes:
* `pkg_info -flags' needs either `-a' or a package name. [1]
 * Add -Q option to manual page.
 * Update `usage:' to match the manual page.

PR:		misc/64786 [1]
Reviewed by:	ru
MFC after:	3 days
2004-03-30 20:48:16 +00:00
simon
235edc76a6 Add a cross reference to exports(5). While exports is not directly
tied to nfsd(8), exports is the configuration file users will most
likely need to configure when dealing with a NFS server.

Submitted by:	Florian Hars <hars@bik-gmbh.de>
PR:		docs/64714
MFC after:	3 days
2004-03-30 20:43:07 +00:00
cperciva
639a6752a2 Sychronize with reality: nologin(8) is now in /usr/sbin
Reminded by:	trhodes
2004-03-30 19:24:56 +00:00
ru
79c8b2680e Sync manpage's synopsis with usage(). 2004-03-30 07:37:04 +00:00
nyan
1425c998a1 Add PC98 supports.
Submitted by:	Watanabe Kazuhiro <CQG00620@nifty.ne.jp> (mostly)
2004-03-28 13:42:27 +00:00
ceri
d0f528517f Correct typo in the last revision. 2004-03-27 14:23:25 +00:00
ru
f4968f78df -N without -M is pointless. 2004-03-26 09:28:03 +00:00
ru
fb7b3f0382 Update information of how pstat(8) accesses the running system. 2004-03-26 09:04:48 +00:00
ceri
35087eb94c Note that only one webnfs share is allowed per NFS server.
PR:		docs/45371
Submitted by:	Mattias Pantzare <pantzer@ludd.luth.se>,
		Matthew D. Fuller <fullermd@over-yonder.net>
MFC after:	2 days
2004-03-22 21:05:57 +00:00
dwmalone
a7b0bf2151 On startup, warn if inetd's config file doesn't exist. This isn't
exactly the same as patch from the PR, which also exited if the
config file was missing. I didn't use Jeff's patch because I was
worried that some people might start inetd, create the config file
and then HUP inetd.

PR:		60806
Submitted by:	Jeff Ito <jeffi@rcn.com>
MFC after:	2 weeks
2004-03-22 12:01:23 +00:00
ru
4be5843981 Fixed a warning. 2004-03-17 20:10:59 +00:00
brueffer
d269d6d966 Fix typo 2004-03-17 14:07:44 +00:00
brueffer
af2feb2357 o Start sentences on new lines
o misc format fixes
2004-03-17 14:06:57 +00:00