Commit Graph

3375 Commits

Author SHA1 Message Date
Brian Somers 4147817ab9 Fix error message.
Don't complicate the test compilation mentioned at the start of
the file.
1998-01-24 00:03:14 +00:00
Brian Somers 2e8ab8d16a Stop bogus warnings. 1998-01-23 22:29:16 +00:00
Brian Somers 813bfe4d88 Re-implement the proxy arp sockaddr_dl search routine (again).
It now works :-) and searches all interface aliases.
1998-01-23 21:37:27 +00:00
Jordan K. Hubbard feb308afd5 In !dists case, invoke the custom dist menu rather than the toplevel
dist menu.  This makes a good deal more sense and should have been
this way all along.
1998-01-23 07:53:44 +00:00
Brian Somers 0c2bc41c96 Don't allow manual dialing unless in auto or interactive mode. 1998-01-23 04:36:42 +00:00
Jordan K. Hubbard c922e45175 MF22: match entries for wfd 1998-01-22 21:14:31 +00:00
Søren Schmidt f5dee08294 Use /bin/pwd instead of a potentially shell builtin that does
not return the "real" path.
This makes it possible to have the .o files put in the /usr/obj
hierachy instead of in the /usr/src one.
1998-01-22 19:34:31 +00:00
Philippe Charnier 2cc11a3c27 Add rcsid. Add usage() with up to date flag list. Use err(3). 1998-01-22 07:28:26 +00:00
Philippe Charnier a7a63eccb9 Convert to mdoc format. Document missing flags. 1998-01-22 07:26:08 +00:00
Jordan K. Hubbard 9d8d61fb4d Add entry for SMC 9432TX cards (tx driver). 1998-01-21 19:25:49 +00:00
Brian Somers 4d834db441 Use the sockaddr_dl with the link#, not the ethernet address
when creating proxy arp entries.
1998-01-21 12:52:14 +00:00
Brian Somers 217e186518 Don't assume that a computer can have no more than
256 interfaces (mine doesn't).  Instead, find local
interface addresses using sysctl().
1998-01-21 10:55:39 +00:00
Jordan K. Hubbard 8b1643d2c6 I must have been smoking crack when I made this change. Using sh -c
in a vsystem() call is just a ludicrous way of calling sh -c "sh -c ..."
Whoops!  I don't know my own bloody code here!
1998-01-21 06:08:35 +00:00
Brian Somers aa8e05197c Remove unused #includes.
Make various bits static.
Remove unused variables.
Submitted by: eivind
1998-01-21 02:15:33 +00:00
Warner Losh 07d19529ee Quote filenames more agressively.
Reviewed by:	jkh
Submitted by:	Hubert Feyrer
1998-01-21 00:12:56 +00:00
Brian Somers 49b239e0d2 Allow an optional delay when specifying "set openmode active".
The delay defaults to 1 sec (as it always has) unless we've done
a ~p in interactive mode or we've actually detected a HDLC frame.
This is now cleanly implemented (via async timers) so that it is
possible for LCP to come up despite the delay if an LCP REQ is
received.

This will hopefully solve situations with slow servers or slirp
scenarios (where ECHO is left on the port for a second or so before
the peer enters packet mode).

Also, ~p in interactive mode no longer changes the value of the default
openmode delay and -dedicated mode enters packet mode in the right state
according to the value of openmode.
1998-01-20 22:47:48 +00:00
Bruce Evans a798ce2eac Converted to Lite2 mount interface - use vfc_typenum from the
already looked up vfsconf struct for nfs instead of MOUNT_NFS.
Removed related FreeBSD ifdefs.
1998-01-20 15:22:27 +00:00
Bruce Evans 66a655bcf6 Merged from Lite2. Get the filesystem type name directly from the
statfs struct instead of converting from the filesystem type number.
1998-01-20 15:12:24 +00:00
Garrett Wollman 8830deae19 Properly initialize the printer struct.
PR: bin/5519
1998-01-20 14:43:05 +00:00
Bruce Evans 87f01287d2 Removed definition of _NEW_VFSCONF. The new vfsconf interface is now
the default.
1998-01-20 10:40:18 +00:00
Philippe Charnier ffe0efc2a9 Convert to mdoc format. Remove unused vars. Use err(3) and change exit(-1). 1998-01-20 07:30:27 +00:00
Kazutaka YOKOTA f17c00390e Add the PnP string for a Logitech serial mouse model. 1998-01-20 03:38:36 +00:00
Jonathan M. Bresler 141868ce36 update hub's master configuraton file
limit sendmail to 500 messages per run
keeps the process from growing too large
sort the queue by host, not numeric priority
connecting to a host is too expensive,
once we got the connection, ram all the mail down his throat ;>
1998-01-20 01:48:12 +00:00
Bill Paul 844812c437 Also fix ypbind to compile with ANSI-fied /usr/include/rpcsvc. One of
these days I really should rerwite this creature from the ground up.
1998-01-19 23:31:38 +00:00
Jordan K. Hubbard 83ac5c703b Add wfd style devices to detection list (we'll have to put them on the
boot floppy too, of course - hope I still have enough inodes! :)
1998-01-19 23:28:41 +00:00
Brian Somers e2e26133df dlopen(..., RTLD_NOW) rather than RTLD_LAZY.
Pointed out by: John Polstra <jdp@polstra.com>
1998-01-19 22:59:57 +00:00
Brian Somers 677f680c33 sys/types.h -> sys/param.h
Pointed out by: Niklas Hallqvist <niklas@petra.appli.se>
1998-01-19 22:34:20 +00:00
Brian Somers c6fe0cb207 Reimplement proxy-arp address stuff using sysctl(). 1998-01-19 02:59:34 +00:00
Brian Somers d1a3ea477c Allow "set vj" for changing the default number of slots
and whether slot compression is requested.
Don't show current values with "show ipcp" if IPCP isn't
"opened".
1998-01-18 20:49:22 +00:00
Bruce Evans 18e5aee8c1 VVMIO -> VOBJBUF as in pstat.c. 1998-01-17 16:58:55 +00:00
Bruce Evans b49d184b20 Started getting rid of the compatibility cruft for the Lite1 mount()
and the pre-Lite2 vfsconf interfaces.

For quot, just back out revs. 1.1 and 1.2 and change MNT_FFS to
"ufs", so that vfsconf isn't used at all.  Revs. 1.1 and 1.2 were
hacks to get around f_fstypename not being in `struct statfs' in
Lite1.
1998-01-17 16:45:03 +00:00
Brian Somers ced716c30f Remove the necessity of -ldes and -lalias etc from release/Makefile.
When building a release, RELEASE_CRUNCH is defined for a `make' of
the objects required by the crunch of each program.  The object list
is still obtained in the same way, so you must make sure that all
objects are built (empty if necessary) by this make.  ppp/Makefile
provides an example.

Reviewed by: jkh
1998-01-17 14:21:21 +00:00
Jordan K. Hubbard 73dfa4e8d6 MF22: fix to install script handling. 1998-01-17 12:26:19 +00:00
Bruce Evans cc03533c8d Removed most unused includes of <net/if_var.h> outside the kernel. 1998-01-16 17:38:56 +00:00
Jordan K. Hubbard a8d70a4bb7 Adapt to new mount(2) argument syntax.
Submitted by:	bde
1998-01-16 15:07:55 +00:00
Jordan K. Hubbard b46285e3cf Benign changes to support Justin's CAM code. 1998-01-16 12:53:04 +00:00
Philippe Charnier aa05c002fa Add rcsid. Change exit(-1). Use err() instead of warn()/exit(). 1998-01-16 07:17:45 +00:00
Jonathan M. Bresler 561ceaff07 update hub.mc to match what we are currently using:
both /etc/aliases and /etc/majordomo.aliases
sendmail.cw is *not* optional
command and connection timeouts
common hoststat directory for all queues
add fakenames database
clean up spam filter rules
limit the number of message processed each queue run
dont need to check Vixie's RBL in both check_relay and check_mail
1998-01-15 17:39:50 +00:00
Brian Somers 257b72c4fd Free our input mbuf when the FCS is good (oops, memory leak). 1998-01-14 01:47:50 +00:00
Brian Somers d6a02b89fb Lose __libalias_version.
We now look for the biggest of libalias.so.2.*
1998-01-14 01:23:05 +00:00
Kazutaka YOKOTA 2c807029e5 Fix the output of `kbdcontrol -L _keymap_file_' which I broke in the last
commit ;-<  /usr/src/release/sysinstall/Makefile uses it to generate
built-in keymap tables.
1998-01-12 23:53:26 +00:00
Philippe Charnier bee6f9e334 Remove optind (getopt() already knows about it). 1998-01-12 08:01:40 +00:00
Philippe Charnier 373c037f07 Remove optind (getopt() already knows about it). Move -d flag to -c according
to man page.
1998-01-12 08:00:32 +00:00
Brian Somers cc924f9e6f Lose <net/if_var.h> !
This'll require a `make installworld'.
1998-01-11 17:53:27 +00:00
Brian Somers 3a70c9f7bf Make things work when sizeof(long) != 32 (hopefully) 1998-01-11 17:50:49 +00:00
Darren Reed 5905ba8289 change s_port to ntohs(s_port) for printf in DEBUG. 1998-01-11 06:03:35 +00:00
Brian Somers b1435e416f Remember any number of interface names. 1998-01-11 04:45:36 +00:00
Brian Somers b5b4c13254 Remove includes of if_var.h and in_var.h 1998-01-11 04:02:57 +00:00
Brian Somers 492e660800 Allow 6 byte interface names (for >tun99) 1998-01-11 02:59:22 +00:00
Brian Somers 86ca062379 Pause according to the redial setting when dialing manually.
Pointed out by: Berend de Boer <berend@compuserve.com>
1998-01-10 21:51:31 +00:00