Nate Lawson
d6c5005c05
Fix a warning about deprecated string literals.
...
Reviewed by: diff
2003-04-15 05:15:50 +00:00
Bruce Evans
b02b5bc5d4
Oops. Back out a style "fix" in the previous commit. SRCS must be defined
...
although there is only one file in it because the file is misnamed main.c
so the default of isdntest.c doesn't work.
2003-04-13 14:21:56 +00:00
Bruce Evans
2f162d5e6c
Silence `make -s' (echo -> ${ECHO}).
...
Fixed some style bugs.
2003-04-13 14:16:06 +00:00
Poul-Henning Kamp
37b2f82295
Avoid emitting duplicate makefile entries.
2003-04-12 14:02:03 +00:00
SUZUKI Shinsuke
a9379b2924
- fixed byte order of route lifetimes in route info opptions.
...
- corrected wording in a log message.
Obtained from: KAME
MFC after: 1 week
2003-04-10 07:31:34 +00:00
Matthew N. Dodd
22baecf2bd
Implement relative mixer adjustment.
...
PR: 46679 (similar functionality)
2003-04-09 15:25:52 +00:00
Poul-Henning Kamp
b8c2d40de1
I forgot a rather crucial cast when I made this sectorsize agnostic.
...
Tune iteration counts a bit.
2003-04-09 14:25:04 +00:00
Poul-Henning Kamp
a362eb6374
Diskinfo is a small program to access the basic properties of a disk device:
...
sectorsize, mediasize etc.
It also contains a small and naïve benchmark which reports on seek
and transfer performance.
2003-04-09 10:52:10 +00:00
Mike Barcroft
ebf5d9bc2c
o Add jls(8) for listing active jails.
...
o Add jexec(8) to execute a command in an existing jail.
o Add -j option for killall(1) to kill all processes in a specified
jail.
o Add -i option to jail(8) to output jail ID of newly created jail.
2003-04-09 03:04:12 +00:00
Max Khon
d4c6c8f992
RFC1548, section 5.8:
...
Echo-Request and Echo-Reply packets may only be sent in the LCP
Opened state. Echo-Request and Echo-Reply packets received in any
state other than the LCP Opened state SHOULD be silently discarded.
PR: 45760
Submitted by: Eugene Grosbein
MFC after: 2 weeks
2003-04-07 13:34:00 +00:00
Maxim Konovalov
0389572f96
Free login_cap(3) resources after usage.
...
Submitted by: demon
2003-04-07 10:16:37 +00:00
Stephen McKay
91d7dc23c1
Remove the maximum patch size limit. It was intended as a check against
...
applying corrupt deltas, but has never (to my knowledge) caught any sort
of corruption, but instead has caused failures on correct deltas several
times. I don't see any way to make the check useful, so it's gone.
Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
PR: 50461
MFC after: 7 days
2003-04-07 08:09:53 +00:00
Robert Watson
3e3a4395a9
s/obsoelte/obsolete/
2003-04-07 04:42:37 +00:00
Warner Losh
07057f7675
Improve, and slightly soften, the deprecated flags. Call them deprecated
...
and not obsolete, but add a warning about their disappearance.
Add additional notes that explain the lameness of WEP.
2003-04-06 19:27:49 +00:00
Warner Losh
e0b29225ea
o Tone down the obsolete messages since we actually do something, for
...
the moment, with the deprecated flags.
o Better error reporting on getting values from the driver. When we can't
get one for the default dumpinfo output. The old driver would succeed
for invalid RIDs, while the new driver reports errors. Since the info
we're getting from the card/driver doesn't exist for all cards, we just
don't report them. Improve error reporting elsewhere now that wi_getval
doesn't exit. Also fix a file descriptor leak as a side effect.
Reported by: scottl
2003-04-06 19:11:33 +00:00
Nate Lawson
3f171d2283
Use assignment, not equivalence test.
...
No response from: suz
2003-04-05 20:54:54 +00:00
Hajimu UMEMOTO
b706c03da0
When session is over, IPv6 default route to tun should be
...
removed, too.
MFC after: 1 week
2003-04-05 10:10:33 +00:00
David E. O'Brien
052238b16c
style.Makefile(5)
2003-04-04 17:49:21 +00:00
Robert Drehmel
b61ee45f0e
- Print out an error message instead of dereferencing a NULL pointer
...
if matchinstalled() found no packages, which happens to be the
case after fresh installations.
- Instead of using strstr(3) to match the package name, depend on
matchinstalled()'s MATCH_REGEX package matching.
PR: bin/50384
MFC after: 2 weeks
2003-04-04 14:40:49 +00:00
Hajimu UMEMOTO
977e6c08fe
Set link-local address of tun interface with prefixlen = 64
...
instead of 128. It makes RA happy.
Reported by: rafa@dif.um.es ,
SHIRASAKI Yasuhiro <yasuhiro@nttv6.jp>
Reviewed by: SHIRASAKI Yasuhiro <yasuhiro@nttv6.jp>
MFC after: 1 week
2003-04-04 11:09:08 +00:00
SUZUKI Shinsuke
ac03f2af25
fixed invalid pointer reference
...
Obtained from: KAME
2003-04-02 11:35:51 +00:00
Maxim Konovalov
b026ec0eb8
o Fix error messages formatting, style.
...
Prodded by: bde
Reviewed by: bde
2003-04-02 09:20:08 +00:00
David E. O'Brien
2d57da023a
Back out the totally unapproved backout of my commits.
2003-03-29 03:03:42 +00:00
Hajimu UMEMOTO
bbdd270714
If IPCP is disabled, susccess of IPV6CP negotiation is sufficient
...
to communicate by IPv6. So, the prompt should be `PPP' rather
than `PPp'.
2003-03-28 18:23:43 +00:00
Robert Watson
8cd5699048
Don't pass NULL in as a flags argument to libfetch's fetchGetURL()
...
as this can result in a NULL pointer deference when parsing the
flags later. This change fixes "pkg_add -r" on 5.0-CURRENT for
me; not quite clear how the problem was introduced.
2003-03-27 20:44:09 +00:00
Maxim Konovalov
d6131f4b8e
o Add -u <username> flag to jail(8): set user context before exec.
...
PR: bin/44320
Submitted by: Mike Matsnev <mike@po.cs.msu.su>
Reviewed by: -current
MFC after: 6 weeks
2003-03-27 12:16:58 +00:00
Eivind Eklund
b11003f306
Change DEFMX to 0. This removes the size limit for print jobs by default.
...
Discussed with: gad (now), arch (a year ago)
2003-03-27 08:33:01 +00:00
Chris Costello
03b920e1a8
Add a sample specfile listing to FILES.
...
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2003-03-26 20:25:13 +00:00
Hajimu UMEMOTO
8a9448cabc
tightened check for the length of ND options.
...
Submitted by: jinmei@kame.net (JINMEI Tatuya)
Obtained from: KAME
2003-03-26 17:28:47 +00:00
Hajimu UMEMOTO
34894c56bc
Don't install wrong IPv6 route by add command.
2003-03-26 06:30:11 +00:00
Brian Somers
92941b9076
Passing a u_char to ntohs() is guaranteed to give the wrong answer !
...
Submitted by: Francis Dupont <Francis.Dupont@enst-bretagne.fr>
2003-03-26 02:27:32 +00:00
Brian Somers
9603d5b40d
Add a ``force-scripts'' option for using chat scripts with -direct and
...
-dedicated links.
Submitted by: Maksim Yevmenkin <myevmenk@exodus.net>
2003-03-26 02:03:08 +00:00
Hajimu UMEMOTO
3efad8b488
Once ppp session is over, the route to ff02::tun0/32 was
...
deleted, and never came back. Now, the route to
ff02::tun0/32 is installed at the end of IPV6CP negitiaton.
2003-03-25 17:01:39 +00:00
Hajimu UMEMOTO
93193fc76c
We need filling scopeid to install routes for link-local
...
scope addresses.
2003-03-25 16:49:08 +00:00
Hajimu UMEMOTO
11f9e243a2
Since ppp.link{up,down} is invoked at the end of IPCP negotiation, if
...
we need ppp.link{up,down}, we couldn't disable IPCP. Now, if IPCP is
disabled, ppp.link{up,down} is invoked at the end of IPV6CP
negotiation.
2003-03-25 15:59:27 +00:00
Matthew N. Dodd
a9cd061a2a
- Add the 'b' option which causes BLOCKSIZE to be hornored when
...
the 'q' or 'Q' options are present.
- Document BLOCKSIZE.
2003-03-25 01:22:42 +00:00
Matthew N. Dodd
5e3714183f
Implement the 'Q' option which is like 'q' (quiet output) except
...
that it prefaces the output with the package name.
This is useful for things like this:
# pkg_info -Qsa | awk -F : '{print $2 "\t" $1}' | sort -rn | expand -t 10
2003-03-25 00:51:41 +00:00
Eivind Eklund
feb33ffc3a
Use correct item to track max width of list
2003-03-24 20:55:28 +00:00
Eivind Eklund
07796aea23
Fix bug that made cdcontrol play <track> play <track> - 1
2003-03-24 20:54:30 +00:00
Mike Makonnen
e33b8d973e
Document the -g option in the usage message.
...
Approved by: markm (mentor)(implicit)
2003-03-23 23:06:44 +00:00
Giorgos Keramidas
6bf611a72d
Make -c only set flag_c and not a toggle. With flag_c disabled by
...
default, this makes the behavior of gstat more predictable when -c is
specified multiple times on the command line.
2003-03-22 09:47:02 +00:00
Giorgos Keramidas
ceecf6a783
Add a small manpage.
2003-03-22 09:44:56 +00:00
Giorgos Keramidas
ab42be1fbf
Add & use a usage() function.
2003-03-22 09:39:52 +00:00
Giorgos Keramidas
4fe8c1b67b
Add error and range checking to strtoul() to avoid ending up with a
...
delay time of ULONG_MAX when -I is passed a non-numeric arg.
2003-03-22 09:23:29 +00:00
Poul-Henning Kamp
3cc4ca2df5
Why doesn't anybody ever tell me anything? When did we get a libsbuf ?
...
Geeze, I'll just crawl back into the kernel where I know what's going on...
Use libsbuf instead of pulling a file in from the kernel.
Taught by: jhb
2003-03-21 17:10:54 +00:00
Ruslan Ermilov
09823ba540
Fixed a typo in ${.CURDIR} spelling, fatal on systems
...
without the /sys symlink pointing to the current tree.
(Revision 1.2 made it non-fatal, but anyway.)
Apply style.Makefile(5).
Fixed ``make checkdpadd''.
2003-03-21 14:45:46 +00:00
Poul-Henning Kamp
5296f07660
Duh! Use correct number ../
...
spotted by: imp
2003-03-21 14:30:16 +00:00
Robert Drehmel
80fc33c35f
Add a target for the creation of a /etc/shells map and add it to
...
the maps which are built by default.
2003-03-21 11:44:03 +00:00
Giorgos Keramidas
dfb085cc35
Call endwin() to restore terminal state just before exiting.
...
Approved by: phk
2003-03-21 09:34:23 +00:00
Poul-Henning Kamp
54a8adabd3
Add a rudimentary gstat(8) to the system.
...
This is a small curses based program which shows the diskactivity
inside GEOM.
2003-03-20 20:48:41 +00:00