Commit Graph

98247 Commits

Author SHA1 Message Date
martin
aed31ed511 Change default MTU to 1476 (same value that Cisco uses).
Do not limit the MTU when set by the admin with ifconfig, per discussion
on tech-net.

This fixes PR 16761 from Jasper Wallace.
2002-06-09 09:45:39 +00:00
martin
e2f0c79cdc Avoid a NULL pointer access if passed bogus parameters.
Unify exit codes to EXIST_SUCCESS/EXIT_FAILURE.
2002-06-09 09:05:51 +00:00
itojun
cc0c94e480 format fix in number mode. PR 16911 2002-06-09 07:14:32 +00:00
matt
0ec15f80cc Allow this to compile under gcc-current. No multiline strings for asm. 2002-06-09 06:18:34 +00:00
itojun
39af55e317 enforce IPv4 link MTU for FDDI and ARCNET even in RTF_GATEWAY case.
PR 17151.
2002-06-09 05:09:26 +00:00
lukem
7940b7815e We can't rely upon ${OBJDIR}/../instfs getting to the ../instfs objdir;
add ${RAMDISKDIR} to PARSELISTENV and use that instead.
Noted by Todd Kover <kovert@omniscient.com> in [port-sparc64/17196]
2002-06-09 04:28:58 +00:00
lukem
9d35c8059d Convert from flock() to the more portable fcntl().
As discussed with Mason Loring Bliss <mason@netbsd.org>
2002-06-09 04:16:39 +00:00
itojun
608d40cf27 sync LIBxx with bsd.prog.mk
XXX bsd.prog.mk and bsd.hostprog.mk defines very similar thing
- can we unify them? at least the definition?
2002-06-09 04:04:32 +00:00
yamt
f2a19ed936 - fix buffer size checks
- define PKG_PATTEN_MAX and PKG_SUFFIX_MAX and
  use them instead of constants like 255.
- add asserts and buffer size checks.
2002-06-09 03:50:13 +00:00
yamt
ae85a7c2df - constify.
- avoid unneeded strcpy.
- add more error checks. (avoid segv
2002-06-09 03:38:59 +00:00
yamt
f214a6095e avoid a magic constant. 2002-06-09 03:32:45 +00:00
itojun
db47036241 use strchr 2002-06-09 02:47:03 +00:00
itojun
ba39243377 use strchr not index 2002-06-09 02:45:26 +00:00
itojun
95c1349e5d use strchr, not index 2002-06-09 02:44:55 +00:00
itojun
f0231f96aa do not propose IDEA cipher on SSL connection, as our default installation
does not handle IDEA.
TODO: dynamically enable IDEA if libcrypto_idea is linked
2002-06-09 02:16:18 +00:00
itojun
d79e894958 use weak_alias to make libcrypto_{idea,rc5} actually useful. 2002-06-09 02:14:30 +00:00
itojun
0b52cc9109 avoid more hardcoded octals. openbsd 2002-06-08 23:43:24 +00:00
itojun
b4daa6bb72 avoid hardcoded octals. openbsd 2002-06-08 23:40:12 +00:00
itojun
5da007343b avoid hardcoded octals 2002-06-08 23:37:47 +00:00
itojun
081662bc11 tell about MTU size limitation 2002-06-08 23:21:36 +00:00
itojun
a636441cdc reject "add" request if if_mtu is different. 2002-06-08 23:17:01 +00:00
itojun
5712a7ade2 sync w/ 1.1.11 2002-06-08 22:49:50 +00:00
itojun
4a4a5f0782 postfix 1.1.11
check following for list of changes:
ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-1.1.11.RELEASE_NOTES
2002-06-08 22:37:07 +00:00
itojun
d7d4214831 dd $NetBSD$ to conf files 2002-06-08 22:37:06 +00:00
itojun
d7d544aee7 postfix 1.1.11
check following for list of changes:
ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-1.1.11.RELEASE_NOTES
2002-06-08 22:36:08 +00:00
wiz
8999a8b386 End sentence with a dot, not a comma (misc/17197 by Julio Merino), and mark up
a bit more.
2002-06-08 22:19:54 +00:00
itojun
e55d3b6782 indent cleanup 2002-06-08 21:32:55 +00:00
itojun
7316bc595b KNF 2002-06-08 21:29:26 +00:00
itojun
2495e99fc7 gc 2002-06-08 21:28:18 +00:00
itojun
6d8d0d63d8 sync with latest KAME in6_ifaddr/prefix/default router manipulation.
behavior changes:
- two iocts used by ndp(8) are now obsolete (backward compat provided).
  use sysctl path instead.
- lo0 does not get ::1 automatically.  it will get ::1 when lo0 comes up.
2002-06-08 21:22:29 +00:00
itojun
61ef51d198 comment out paragraph that does not fit to NetBSD 2002-06-08 21:19:08 +00:00
itojun
be5f1d082c use getnameinfo on diag printing. sync w/openssh in openbsd 2002-06-08 21:17:57 +00:00
itojun
fc5800e3fd whitespace cleanup 2002-06-08 20:06:44 +00:00
itojun
b7330b38e8 do not use deprecated ioctls 2002-06-08 18:11:46 +00:00
martin
8d0aae90e8 Add support for ACTIONTEC wireless lan card, from jasper@pointless.net
in PR kern/17194.
2002-06-08 18:06:09 +00:00
martin
cd8bd9c2e1 Regen (ACTIONTEC wireless lan card added) 2002-06-08 18:02:08 +00:00
martin
e59eb100a6 Add ACTIONTEC wireless lan card. 2002-06-08 18:01:14 +00:00
bouyer
8305da0e8f Ops, use the proper setup_channel() function for promise adapters.
Using pdc202xx_setup_channel() for PDC20268 and newer is wrong, and will
cause trap trying to read from a non-existent register on some arches
(e.g. macppc).
pointed out by Makoto Fujiwara on port-macppc.
2002-06-08 17:54:59 +00:00
thorpej
8bbbfff0a1 Remove __LEADING_UNDERSCORE case. 2002-06-08 17:27:25 +00:00
yamt
10bf6fcc59 constify and make auto const variables static. 2002-06-08 17:24:09 +00:00
yamt
310e66f3c9 make an auto const variable static. 2002-06-08 17:10:02 +00:00
yamt
0f75af34c0 constify and make auto const variables static. 2002-06-08 17:07:53 +00:00
yamt
7d0fd357f6 make auto const variables static. 2002-06-08 16:51:38 +00:00
yamt
71f556f70f constify and make it static. 2002-06-08 16:44:14 +00:00
yamt
a3da5d94f3 constify. 2002-06-08 16:34:06 +00:00
yamt
560a78f6da constify. 2002-06-08 16:20:24 +00:00
yamt
0015b85918 make an auto const variable static. 2002-06-08 16:08:54 +00:00
yamt
737ffe3619 make auto const variables static. 2002-06-08 16:03:55 +00:00
yamt
fed3639fa8 make auto const variables static.
(and space->tab)
2002-06-08 16:02:02 +00:00
yamt
d5fb44ee2c make an auto const variable static. 2002-06-08 15:58:47 +00:00