git: if_clone: Move "struct if_clonereq" over from <net/if.h>

Aaron LI aly at crater.dragonflybsd.org
Sat Aug 4 20:59:16 PDT 2018


commit 687c518e9dcb04166a0c34c27d609eaf82d1a5e2
Author: Aaron LI <aly at aaronly.me>
Date:   Thu Jun 21 08:36:00 2018 +0800

    if_clone: Move "struct if_clonereq" over from <net/if.h>
    
    The "if_clonereq" struct is __BSD_VISIBLE and is only used by ifconfig(8)
    userland tool (via searching "if_clonereq" in the dports grok), so it's
    safe to move it to <net/if_clone.h> to be clearer.

Summary of changes:
 sbin/ifconfig/ifclone.c |  1 +
 sys/net/if.h            | 14 ++------------
 sys/net/if_clone.h      | 13 +++++++++++--
 3 files changed, 14 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/687c518e9dcb04166a0c34c27d609eaf82d1a5e2


-- 
DragonFly BSD source repository


More information about the Commits mailing list