Commit graph

5708 commits

Author SHA1 Message Date
Brian Somers 6b38466448 Support IP6 addresses in ``show route''
Also, don't try to output routing entries if either the
RTA_DST or RTA_GATEWAY sockaddrs aren't present.
2000-03-14 01:46:38 +00:00
Brian Somers 76ce2d4bcb When adjusting timer::rest, round to the closest TICKUNIT usecs
value.

This has minimal impact here, but if ppp ever needs to frequently
remove timers before they've timed out, it can badly skew the next
item in the timer list without this change.

The correct fix would be to store usecs in `rest' rather than
TICKUNITs, but the math is easier if we just round...
2000-03-14 01:46:34 +00:00
Brian Somers e722aa17f8 When we stop a timer that's the first in the timer list, ensure
that we adjust that timers `rest' value (with the current getitimer()
values) before using that to adjust the next items `rest' value.
After adjusting that value, restart the timer service so that we've
now got the correct setitimer() values.
2000-03-14 01:46:31 +00:00
Brian Somers f013f33ee2 To avoid namespace polution in NetBSD:
``struct descriptor'' -> ``struct fdescriptor''
2000-03-14 01:46:09 +00:00
Kris Kennaway c9b2af93fa Test for existence of secure/, not crypto/ for consistency
Submitted by:	jhay
2000-03-13 21:38:10 +00:00
Kris Kennaway ee9e4faa2d Fix world with -DNOCRYPT, hopefully fix release for non-crypto collection.
Reported by:	Jason Garman <jgarman@wedgie.org>
Feedback by:	bde, Bob Bishop <rb@gid.co.uk>, jhay
2000-03-13 21:35:30 +00:00
Archie Cobbs b1ea638805 Remove erroneous built-in help information for the 'msg' command. 2000-03-13 19:23:16 +00:00
Guy Helmer 5b0e9f8cb1 Fix parsing of commands after @ keywords (@hourly, @daily, etc.).
Fix setting of "hour" bitmap when @hourly keyword is specified.

MFC candidate after 4.0-RELEASE.

Problem-found-by: Sheldon Hearn <sheldonh@uunet.co.za>
2000-03-13 19:21:17 +00:00
Sheldon Hearn 465c6ce100 Back out previous commit. The code is not ready for it. 2000-03-13 19:13:48 +00:00
Bill Fumerola 3bbd4ccc80 -CURRENT is now 500000, reflect that. 2000-03-13 18:47:48 +00:00
Sheldon Hearn a7623b801d Add a standard option list and make appropriate changes to the
body of the description.

This is based on a patch from Nick Sanders <fishy@hotbot.com>.

PR:		11978
2000-03-13 14:54:55 +00:00
Yoshinobu Inoue f9b3ac8d7f Add missing end of semi colon of an example setkey command.
Submitted by: kuriyama
2000-03-13 01:38:46 +00:00
Yoshinobu Inoue 17deb18225 Typo fix. s/SAD/SPD/.
Specified by: jdp
2000-03-12 19:56:30 +00:00
Yoshinobu Inoue 6a7a2d34b3 Typo fixes.
PR: docs/17333
Submitted by: Kazuo Horikawa <horikawa@psinet.com>
2000-03-12 19:50:12 +00:00
Peter Dufault 73e3e59c77 Disable RTPRIO and P1003.1B scheduling in ntpd. Only leave BSD_NICE
for a scheduling boost.  This is a conservative change that should
make no difference in practice and eliminate concerns about this being
the source of some SMP hangs.

Configuration scripts should never auto-configure P1003.1B
without a second test.  The behavior with respect to regular time
sharing, who can access it, etc., is not defined.

Approved by:	jkh
2000-03-12 13:25:14 +00:00
Jordan K. Hubbard c87413f73b Remove PkgInteractive hack - it won't work like this. 2000-03-12 03:57:26 +00:00
Kris Kennaway 38e1809ae3 Remove the last vestiges of libRSAglue now that it's an empty stub.
This should fix the buildworld problems some people were seeing.

Approved by:	jkh
2000-03-11 22:34:10 +00:00
Yoshinobu Inoue 94b65aeee9 Add missing return.
"ndp" command should deletes only neighbor cache entries, but the
  program lacks necessary "return" after the neighbor cache
  entry check, so it might deletes non neighbor cache entries.
  (it seems that usually no problem happens.)

Approved by: jkh
Reviewed by: ume
2000-03-11 20:57:31 +00:00
Yoshinobu Inoue 1a0760dd60 Make inetd compilable without INET6.
Approved by: jkh

Submitted by: jhb
2000-03-11 11:28:08 +00:00
Jordan K. Hubbard e03f42bcc6 Do the right thing with USA_RESIDENT 2000-03-10 20:34:22 +00:00
Jordan K. Hubbard dad50e2ed3 s/chose/choose/ in all the relevant places.
Noticed by:	John Reynolds <jjreynold@home.com>
2000-03-10 19:53:53 +00:00
Paul Richards cd7b8d78c7 Fix various unsigned vs signed errors that caused problems with uids
and gids bigger than 16 bits. Added checks for uids and gids that are
bigger than 32 bits.

Approved by:	jkh (partly, this fix is bigger than I first intended)
2000-03-09 18:11:16 +00:00
Yoshinobu Inoue a9a948a9bb Fix addr length argument value passed to sendto().
Some inetd internal udp servers didn't worked with problem.
Also fix recvfrom() "fromlen" arg type from int * to socklen_t *.

Approved by: jkh

Submitted by: bde
2000-03-09 15:07:38 +00:00
Yoshinobu Inoue 32387b216d Added several socket close() which were mistakenly forgotten.
Reported by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
2000-03-09 14:51:05 +00:00
Kris Kennaway bb49f794f5 Buildworld fixes for NO_OPENSSH and NO_OPENSSL
Approved by:	jkh
2000-03-09 06:29:05 +00:00
Jonathan Lemon f593bed1b5 Add Compaq Arrays 2000-03-08 18:14:19 +00:00
David E. O'Brien 0be12df092 Somehow I didn't get all the "-v" code commited.
Submitted by:	Arindum Mukerji <rmukerji@execpc.com>
Approved by:	JKH

Make the manpage more style(9) complient.
2000-03-08 16:31:42 +00:00
Jordan K. Hubbard 68a69aba61 Fix inexplicable crypto->des reversion. 2000-03-08 14:54:19 +00:00
Jordan K. Hubbard 976e0e0dd0 Whoops - really make the "fix" I did to the dmenuToggleVariable logic
work.
2000-03-08 14:20:26 +00:00
Sheldon Hearn 874072c7bb Merge in NetBSD improvements:
* Clarify quoting value in of name = value pairs.
	* Describe the @reboot, @yearly, @annually, @monthly, @weekly,
	  @daily, @midnight and @hourly extensions.

PR:		17261
Submitted by:	MIHIRA Yoshiro <sanpei@sanpei.org>
Obtained from:	NetBSD
2000-03-08 11:48:01 +00:00
Sheldon Hearn a3e71776a6 Remove blanks lines, replacing them with Pp macros where appropriate. 2000-03-08 10:13:50 +00:00
Sheldon Hearn 422127521a Add missing description for the dummy -o option. 2000-03-08 10:06:27 +00:00
Sheldon Hearn 843422401a Add a dummy -s option for SUSv2 compatibility.
PR:		17256
Reported by:	Brooks Davis <brooks@one-eyed-alien.net>
Approved by:	jkh (release engineer)
2000-03-08 10:02:11 +00:00
Jordan K. Hubbard c2e8faa8e0 Add entries for slovenian keymap and new euro fonts.
Submitted by:	Blaz Zupan <blaz@amis.net>
2000-03-07 16:45:36 +00:00
Nik Clayton 739156b85e It's isdntel(8), not isdntel(1).
PR:             docs/17103
Submitted by:   Udo Erdelhoff <ue@nathan.ruhr.de>
2000-03-07 14:05:50 +00:00
Nik Clayton 2ccea164ec Mark "name" as being an argument, so it is formatted correctly.
PR:             docs/16834
Submitted by:   Greg Lewis <glewis@trc.adelaide.edu.au>
2000-03-07 13:32:11 +00:00
Sheldon Hearn d4cc3e55b1 Remove gratuitous dashes (-) in Fl macro arguments.
PR:		17216
Submitted by:	horikawa@psinet.com (Kazuo Horikawa)
2000-03-06 13:52:23 +00:00
Sheldon Hearn 2ed2dc52a6 Remove more single-space hard sentence breaks. 2000-03-06 09:45:37 +00:00
Sheldon Hearn b3841b0188 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-06 09:41:55 +00:00
Søren Schmidt f6cccdd69a mkisofs has the -C option for this, doh. 2000-03-04 07:26:23 +00:00
Søren Schmidt a6b8984b94 Add msinfo command, used for multisession CD generation with
mkisofs. Gives the last track start LBA, and the next writable LBA.

Inspired by: peter
2000-03-03 23:17:27 +00:00
Jordan K. Hubbard 8b80a8837b Really fix the USA_RESIDENT botch.
Submitted by:	Dmitry Valdov <dv@dv.ru>
2000-03-03 20:33:21 +00:00
Yoshinobu Inoue 1fece1a6b6 Change type of vars which hold in_addr.s_addr from u_long to u_int32_t,
for more safety on alpha.

Approved by: jkh
2000-03-03 13:01:57 +00:00
Sheldon Hearn a3f3c85b7f Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-03 09:11:28 +00:00
Søren Schmidt 14283480b3 Add a percentage-meter to the progress report.
Submitted by: peter
2000-03-02 21:49:10 +00:00
Chris Timmons da65c01b55 Mention that portmap(8) utilizes hosts_access(5).
Reviewed by: asmodai
2000-03-02 18:15:46 +00:00
Sheldon Hearn 4e86fcacf6 Remove more single-space hard sentence breaks. 2000-03-02 14:54:02 +00:00
Bill Fenner 51a3acc34a Make crypto part of tcpdump (print-esp.c) work.
Approved by:	jkh
2000-03-02 13:27:25 +00:00
Sheldon Hearn e2bfa2c906 Replace abuse of a literal block display with a more appropriate
tag list.

Apologies to translators for mixing in a few language clean-ups.
2000-03-02 13:14:16 +00:00
Sheldon Hearn f2e366a105 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 14:09:25 +00:00