1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00
freebsd/sbin
Randall Stewart 7f749ed938 Class based addressing went out in the early 90's. Basically
if a entry is not route add -net xxx/bits then we should use
the addr (xxx) to establish the number of bits by looking at
the first non-zero bit. So if we enter
route add -net 10.1.1.0 10.1.3.5
this is the same as doing
route add -net 10.1.1.0/24
Since the 8th bit (zero counting) is set to 1 we set bits
to 32-8.

Users can of course still use the /x to change this behavior
or in cases where the network is in the trailing part
of the address, a "netmask" argument can be supplied to
override what is established from the interpretation of the
address itself. e.g:

route add -net 10.1.1.8 -netmask 0xff00ffff

should overide and place the proper CIDR mask in place.

PR:		131365
MFC after:	1 week
2009-04-06 10:09:20 +00:00
..
adjkerntz
atacontrol Bring SATA revision reporting into conformance with SATA-IO guidelines. 2009-02-23 22:29:38 +00:00
atm
badsect
bsdlabel o One more s/gpt/gpart/. 2008-11-05 09:28:30 +00:00
camcontrol
ccdconfig
clri
comcontrol
conscontrol
ddb Apply various fixes: 2008-12-24 11:12:21 +00:00
devd o Spell. Sort .Xrs. 2009-03-08 18:02:30 +00:00
devfs
dhclient Support the remaining options listed in dhcp-options(5) and RFC 2132. 2008-10-17 13:28:53 +00:00
dmesg
dump Verify that the filesystem being referenced in fstab is indeed a UFS 2009-03-02 03:08:46 +00:00
dumpfs Print disk offets as %jd rather than %lld; I fixed one before committing 2009-01-28 12:08:19 +00:00
dumpon
fdisk Reword some entries for NTFS and DOS. 2009-01-14 22:05:51 +00:00
fdisk_pc98 Use the common PC98_SID_ACTIVE define instead of a local define. 2009-03-19 12:31:59 +00:00
ffsinfo
fsck Add the '-C' "check clean" flag. If the FS is marked clean, skip file 2009-01-30 18:33:05 +00:00
fsck_ffs Update the actions previously attempted by the -D option to make them 2009-02-04 01:02:56 +00:00
fsck_msdosfs
fsdb
fsirand
gbde
geom Man page accompanying r190423 - introduce UFS ID labels. 2009-03-25 20:40:34 +00:00
ggate
growfs
gvinum Import the gvinum work that have been done during and after Summer of Code 2007. 2009-03-28 17:20:08 +00:00
idmapd
ifconfig add superg+tdma include files for protocol defs needed to do ie parsing 2009-03-26 21:29:38 +00:00
init
ipf
ipfw Improve a bit reass documentation: 2009-04-05 15:24:27 +00:00
iscontrol Big update to the iSCSI initiator code. Highlights include IPv6 support, 2008-11-25 07:17:11 +00:00
kldconfig
kldload
kldstat Only show the pathname in verbose output as intended in the last commit (r172862). 2008-12-22 19:52:21 +00:00
kldunload
ldconfig
mca
md5 Minor markup fix for the r186836 update. 2009-01-06 21:16:42 +00:00
mdconfig Add the possibility to specify "-o force" with "mdconfig -du". 2009-01-10 17:17:18 +00:00
mdmfs
mknod
mksnap_ffs
mount Add a -o mountprog parameter to mount which explicitly allows 2009-03-05 08:57:35 +00:00
mount_autofs
mount_cd9660
mount_ext2fs
mount_hpfs
mount_msdosfs Add missing qualifier which was missed in the previous commit. 2009-01-05 12:10:22 +00:00
mount_nfs Set NFSMNT_ACDIRMAX flag in fallback_mount() function. 2009-02-06 07:47:53 +00:00
mount_ntfs Tone down warning about the quality of the NTFS VFS module. It appears that 2009-01-20 02:08:21 +00:00
mount_nullfs
mount_reiserfs
mount_std
mount_udf
mount_unionfs
natd
newfs Don't add a bwrite() symbol, it breaks the build when building newfs 2009-02-12 15:28:15 +00:00
newfs_msdos newfs_msdos: allow to work with media that doesn't have any CHS params 2009-02-27 17:29:48 +00:00
nfsiod
nos-tun
pfctl
pflogd
ping - improve readability 2009-01-11 22:36:45 +00:00
ping6
quotacheck
rcorder
reboot Remove and unused variable. 2009-01-31 13:48:15 +00:00
recoverdisk Save (empty) worklist at successful completion 2009-03-23 11:07:34 +00:00
restore Restore necessary NUL termination of locname. 2009-01-28 16:23:21 +00:00
route Class based addressing went out in the early 90's. Basically 2009-04-06 10:09:20 +00:00
routed Only raise WARNS to 6 on i386 and amd64, strict alignment platforms still 2009-04-06 07:13:26 +00:00
rtsol
savecore Apply various fixes: 2008-12-24 11:12:21 +00:00
sconfig
setkey
shutdown Note that when shutdown is run without options, it will place 2008-12-23 15:00:03 +00:00
spppcontrol
sunlabel
swapon
sysctl
tunefs
umount
Makefile Remove if_ppp(4) and if_sl(4). 2009-04-05 22:08:18 +00:00
Makefile.inc