christos
030580eaff
user librumpres
2017-10-10 19:30:06 +00:00
christos
fec7750749
We don't need agr or l2tp when we are small.
2017-05-02 20:12:27 +00:00
wiz
d0da83b571
New sentence, new line.
...
Remove superfluous Oc and merge line to make it less likely to happen again.
Fix typo.
2017-02-16 13:51:08 +00:00
knakahara
f8f075dfc2
add man for l2tp(4).
2017-02-16 08:32:21 +00:00
knakahara
03c4401a4e
add l2tp(4) subcomands to ifconfig(8).
...
originally implemented by IIJ SEIL team.
2017-02-16 08:28:03 +00:00
rin
879e53004e
Cosmetic changes. No functional changes.
2017-02-08 23:26:24 +00:00
rin
d394916260
Factor out a common part in Makefile's of ifconfig and x_ifconfig.
2017-02-08 23:22:43 +00:00
rin
6323d1adb5
Rename sbin/ifconfig/Makefile.inc to Makefile.common; the former can
...
potentially conflict with bsd.subdir.mk.
2017-02-08 23:16:41 +00:00
rin
9766216654
Remove ifconfig hack on m68000. I've confirmed that the problem has already
...
gone with TME.
2017-02-08 23:13:59 +00:00
abhinav
fc37131283
Fix typo: s/forwared/forwarded
...
Also remove full stop from the date.
2017-01-18 22:07:25 +00:00
kre
902f3d8946
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)
2016-10-01 20:59:49 +00:00
roy
5174f725c2
Modernise the output for the address to address/prefix instead
...
of differring outputs for INET and INET6.
The hex string of the INET netmask was particulary hard to read.
2016-10-01 15:10:58 +00:00
roy
b5123ad110
Remove the alias keyword from ifconfig output as it serves no purpose.
2016-09-30 16:52:17 +00:00
roy
d55c25711c
ifaddrs has more data than just the address.
...
Use it instead of making pointless ioctl calls.
2016-09-30 16:47:56 +00:00
christos
e8e025ac01
fix bugs in ssid printing
2016-09-22 18:22:51 +00:00
roy
c8fe052e74
Don't bail if SIOGIFMEDIA doesn't return any media lists because we
...
can still report link status.
2016-09-14 11:46:43 +00:00
christos
448df9d70c
print address flag bits using snprintb
2016-09-13 00:20:51 +00:00
sevan
3ef31cfb4a
Replace contractions & abbreviation.
2016-09-11 22:10:47 +00:00
christos
89e8cc1112
PR/50909: David Binderman: Optimize memset
2016-03-07 15:56:17 +00:00
christos
0598d5879b
PR/50909: David Binderman: Optimize memset
2016-03-07 12:48:53 +00:00
riastradh
ab04408fa8
Consistently use estrlcpy for ifr.ifr_name here, not strncpy.
2016-02-29 16:23:25 +00:00
roy
74efc0b2e3
-W seconds will wait for the detached flag to clear on addresses on
...
interfaces marked up to allow time for the carrier to appear on the
interface.
This does not extend the -w option duration.
2016-01-07 11:32:21 +00:00
ozaki-r
e32e871503
Don't divide flags output
...
If there are many enabled flags, ifconfig divides flags output into
multiple formatted strings due to snprintb_m, e.g.,
wm0: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX>wm0: flags=8b43<MULTICAST> mtu 1500
This behavior is probably unexpected. The change always outputs enabled
flags at once like this:
wm0: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
2015-07-29 07:42:27 +00:00
ozaki-r
44b264d7a7
Fix rump.ifconfig shows host's interface names in link local addresses
2015-05-19 08:14:38 +00:00
roy
e0cc834e99
ioctl -> prog_ioctl as pointed out by pooka@
2015-05-12 14:05:29 +00:00
roy
dbb6db0ed0
Report IN_IFF_TENTATIVE and friends.
...
Wait for IN_IFF_TENTATIVE to be removed with the -w flag.
2015-05-02 14:43:51 +00:00
christos
d5a931670f
remove 80211 stats if small.
2015-04-28 15:14:57 +00:00
roy
a7a37fb042
Move the INET6 specific code for wait_dad_exec() into af_inet6
...
by using a new afswtch hook af_addr_tentative.
2015-04-22 17:42:22 +00:00
roy
9fbc750691
Display the IPv6 address flags autoconf and temporary
2015-01-20 22:13:19 +00:00
roy
38d2e3f021
Remove the ability for userland to toggle IN6_IFF_TENTATIVE.
...
Preserve IN6_IFF_TENTATIVE when updating address flags.
2014-10-20 14:50:09 +00:00
ozaki-r
75f57c494b
Write about -vlanif in ifconfig.8
...
PR 49114
2014-09-15 06:48:05 +00:00
ozaki-r
adf2c730e5
Add -vlanif to the help message of ifconfig
...
PR 49114
2014-09-15 06:46:04 +00:00
martin
58001a8b3d
Initialize timespec "end" for the benefit of some gcc versions getting
...
"may be used uninitialized" warnings wrong.
2014-09-12 08:54:26 +00:00
roy
c6314d6139
Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
...
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.
As discussed on tech-net@
2014-09-11 13:10:03 +00:00
matt
5a355fa389
Rename link to link_pkw to avoid shadowing the link syscall.
2014-01-19 22:31:13 +00:00
christos
6a0886ad81
perror is obsolete, use warn and add missing paren.
2014-01-08 01:56:20 +00:00
degroote
f2475e079d
Before scanning, check if the card is up. If it is not the case, exit
...
with some useful error message. Add some note about this fact in the man
page too.
2014-01-07 20:25:24 +00:00
kefren
88644df51c
Bring tunnel src_addr and dst_addr on the same line
2013-11-09 13:10:35 +00:00
christos
740c6aa538
use correct function
2013-10-19 15:59:15 +00:00
christos
730b60ec52
use symbolic flags
2013-10-19 15:50:26 +00:00
christos
0dd81edd01
use the new scopeid functions
2013-10-19 00:35:30 +00:00
christos
d8748c5de0
print the next parser name instead of just the pointer in debugging.
2013-07-17 15:42:03 +00:00
christos
ee1471609b
Allow -v to be used with other commands (list scan for example) as documented.
2013-07-17 15:40:42 +00:00
joerg
e240adbd0b
Retire OSI network stack. OK core@
2013-03-01 18:25:13 +00:00
apb
819da78f2e
Abort on error from prop_dictionary_augment.
2013-02-07 13:21:34 +00:00
apb
acc2342d2c
Avoid dereferencing NULL. Coverity CID 275201.
...
Also fix a typo in previous: !== should be !=
2013-02-07 13:20:51 +00:00
apb
beb9ef8fe5
Don't call prop_distionary_make_immutable on a NULL pointer.
...
Coverity CID 275179.
2013-02-07 11:24:15 +00:00
christos
17cb1d718c
fix function name in error messages.
2012-12-30 22:52:35 +00:00
christos
082a5b2911
PR/46579: Takahiro HAYASHI: ifconfig clone destroy should not print useless
...
diagnostic and exit with an error code. Get the interface name and flags
opportunistically to allow the code to return normally if it does not need
to do anything.
2012-12-30 22:50:42 +00:00
pgoyette
52dd3d0558
Use snprintb_m(3) to split flags/capabilities/enabled across multiple
...
output lines.
As discussed on current-users
2012-11-01 13:43:23 +00:00