DragonFly commits List (threaded) for 2008-12
DragonFly BSD
DragonFly commits List (threaded) for 2008-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 31 Dec 2008 02:19:41 -0800 (PST)

commit 2e02352cd0df4ba39371e654e6178b72c9474e8e
Author: Sepherosa Ziehau <sephe@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]