Up to [cvs.NetBSD.org] / src / sbin / ifconfig
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: pgoyette-localcount-20170426
Revision 1.24 / (download) - annotate - [select for diffs], Sat Oct 1 20:59:49 2016 UTC (7 years, 6 months ago) by kre
Branch: MAIN
CVS Tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-compat-base,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-8-base,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: pgoyette-compat
Changes since 1.23: +32 -8
lines
Diff to previous 1.23 (colored)
Return to printing explicit "netmask 0x...." in the case that the mask set is non-contiguous. We don't prohibit setting such things (even if they are basically useless) so they can be set by accident. ifconfig ifN 10.0.0.1 netmask 225.0.0.0 produced ifN .. inet 10.0.0.1/8 with the previous form (since 225 is 0xE1), now it produces ifN ... inet 10.0.0.1 netmask 0xe1000000 If the "netmask" form ever appears in ifconfig output, it (now) means that the netmask is non-contig, which should make that case obvious (whther intended, or set by accident)