DragonFly-2.1.1.211.g2e023 master sys/netinet in.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Dec 31 02:21:11 PST 2008


commit 2e02352cd0df4ba39371e654e6178b72c9474e8e
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sun Dec 28 13:31:41 2008 +0800

    Call if_up(), if in_ifinit() brings interface up (via ifp->if_ioctl).
    This is done no matter whether the address assignment fails or not.
    
    This commit is intend to fix following case:
    
    ifconfig iface0 192.168.5.1
    ifconfig iface0 down
    ifconfig iface0 alias 192.168.6.1
    
    Before this commit, 192.168.5.0/24 prefix route will not be installed.

Summary of changes:
 sys/netinet/in.c |   36 +++++++++++++++++++++++++++++++++++-
 1 files changed, 35 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/?p=dragonfly.git;a=commitdiff;h=2e02352cd0df4ba39371e654e6178b72c9474e8e


-- 
DragonFly BSD source repository





More information about the Commits mailing list