NetBSD/sbin/ifconfig
dyoung 83dfe33e66 is@ pointed out that I set the phase and range of a sockaddr_at
without subsequently doing anything with it, so commit_address()
works with an address with phase == 0.  phase == 0 is not allowed,
hence

random84# ifconfig nfe0 atalk 3.14
ifconfig: SIOCAIFADDR: Invalid argument

Solution: copy the new sockaddr_at to a temporary input environment,
and pass that environment to commit_address().  I may as well copy
the new sockaddr_at to the output environment, while I am at it.
2008-08-01 22:44:17 +00:00
..
af_atalk.c is@ pointed out that I set the phase and range of a sockaddr_at 2008-08-01 22:44:17 +00:00
af_inet6.c Only describe flags -L and -m in the usage if they are available. 2008-07-15 20:56:13 +00:00
af_inet.c Let us add/remove features from ifconfig, such as support for 2008-07-02 07:44:13 +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 Let us add/remove features from ifconfig, such as support for 2008-07-02 07:44:13 +00:00
agr.c Cosmetic: s/xenv/oenv/ 2008-07-15 21:27:58 +00:00
carp.c Cosmetic: s/xenv/oenv/ 2008-07-15 21:27:58 +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 Overhaul ifconfig. Use fewer global variables. Take a leap toward 2008-05-06 04:33:42 +00:00
extern.h Only describe flags -L and -m in the usage if they are available. 2008-07-15 20:56:13 +00:00
ieee80211.c Cosmetic: s/xenv/oenv/ 2008-07-15 21:27:58 +00:00
ifconfig.8 Add support for the command list scan in ifconfig (this command permits to scan 2007-12-16 13:49:21 +00:00
ifconfig.c Extract common code. Create subroutine paddr_prefix_size(). 2008-08-01 22:29:13 +00:00
Makefile Let us add/remove features from ifconfig, such as support for 2008-07-02 07:44:13 +00:00
Makefile.inc Let us add/remove features from ifconfig, such as support for 2008-07-02 07:44:13 +00:00
media.c Cosmetic: s/xenv/oenv/ 2008-07-15 21:27:58 +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 Extract common code. Create subroutine paddr_prefix_size(). 2008-08-01 22:29:13 +00:00
parse.h Extract common code. Create subroutine paddr_prefix_size(). 2008-08-01 22:29:13 +00:00
tunnel.c Cosmetic: s/xenv/oenv/ 2008-07-15 21:27:58 +00:00
util.c Let us add/remove features from ifconfig, such as support for 2008-07-02 07:44:13 +00:00
util.h Let us add/remove features from ifconfig, such as support for 2008-07-02 07:44:13 +00:00
vlan.c Cosmetic: s/xenv/oenv/ 2008-07-15 21:27:58 +00:00