NetBSD/sbin/ifconfig
dyoung aa9db6efb2 Add to the string parse object (pstr), and its constructors, a flag that
tells whether it should detect and convert to binary a hexadecimal octet
string of the form 0x0123ABab, or leave those strings undecoded.

If the argument for a 'media', 'mediamode', 'mediaopt', '-mediaopt',
'nwkey', or 'bssid' keyword is a hexadecimal octet string, do not detect
and decode it.  (Note that setifnwkey decodes hexadecimal strings on its
own.)

This fixes a bug noticed by Jim Miller where the trailing zero-octets
were discarded from hexadecimal octet-string arguments for 'nwkey'.
2010-07-01 16:44:05 +00:00
..
Makefile Apparently, -g belongs in the DBG variable, not in CFLAGS. Make it so 2010-07-01 16:28:21 +00:00
Makefile.inc Add comments that Makefile.inc should have shared stuff with 2009-09-16 14:59:45 +00:00
af_atalk.c Use getnameinfo() for printing AppleTalk addresses. While here, fix 2010-01-30 18:30:33 +00:00
af_inet.c Make ifconfig(8) set and display preference numbers for IPv6 2009-09-11 22:06:29 +00:00
af_inet6.c Compare a pointer with NULL instead of testing its "truth." 2010-01-22 23:50:07 +00:00
af_inetany.c Let us add/remove features from ifconfig, such as support for 2008-07-02 07:44:13 +00:00
af_inetany.h Let us add/remove features from ifconfig, such as support for 2008-07-02 07:44:13 +00:00
af_iso.c Cosmetic: s/xenv/oenv/ 2008-07-15 21:27:58 +00:00
af_link.c To make sure that we always print the active link-layer address in the 2009-04-21 22:46:39 +00:00
agr.c Cosmetic: s/xenv/oenv/ 2008-07-15 21:27:58 +00:00
carp.c This should fix 'carpdev <ifname>' or, at least, not break it more 2009-09-11 23:22:28 +00:00
env.c Let us add/remove features from ifconfig, such as support for 2008-07-02 07:44:13 +00:00
env.h Add compile mode which executes rump system calls. This is useful 2009-05-26 16:03:24 +00:00
extern.h Add option -N. -N is just the opposite of option -n in netstat(8) 2009-08-07 18:53:37 +00:00
ieee80211.c Add to the string parse object (pstr), and its constructors, a flag that 2010-07-01 16:44:05 +00:00
ifconfig.8 Import pfsync support from OpenBSD 4.2 2009-09-14 10:36:48 +00:00
ifconfig.c Add option -N. -N is just the opposite of option -n in netstat(8) 2009-08-07 18:53:37 +00:00
media.c Add to the string parse object (pstr), and its constructors, a flag that 2010-07-01 16:44:05 +00:00
media.h Let us add/remove features from ifconfig, such as support for 2008-07-02 07:44:13 +00:00
parse.c Add to the string parse object (pstr), and its constructors, a flag that 2010-07-01 16:44:05 +00:00
parse.h Add to the string parse object (pstr), and its constructors, a flag that 2010-07-01 16:44:05 +00:00
pfsync.c Import pfsync support from OpenBSD 4.2 2009-09-14 10:36:48 +00:00
tunnel.c Add option -N. -N is just the opposite of option -n in netstat(8) 2009-08-07 18:53:37 +00:00
util.c Add to the string parse object (pstr), and its constructors, a flag that 2010-07-01 16:44:05 +00:00
util.h Add to the string parse object (pstr), and its constructors, a flag that 2010-07-01 16:44:05 +00:00
vlan.c Don't require a "vlan" argument with "-vlanif". "ifconfig vlan0 2009-07-28 18:22:33 +00:00