git: netinet: Simplify the handling of INADDR_ANY in in_ifinit()

Aaron LI aly at crater.dragonflybsd.org
Wed Mar 20 08:33:50 PDT 2024


commit 650ba6fbdd2d4b0bcc6a1976a6630ada8e96b53f
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Mar 20 09:00:11 2024 +0800

    netinet: Simplify the handling of INADDR_ANY in in_ifinit()
    
    Just check the interface address whether is INADDR_ANY and ignore the
    checks of netmask/dstaddr.

Summary of changes:
 sys/netinet/in.c | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/650ba6fbdd2d4b0bcc6a1976a6630ada8e96b53f


-- 
DragonFly BSD source repository


More information about the Commits mailing list