if_clone: Refactor out if_clone_createif() function
authorAaron LI <aly@aaronly.me>
Mon, 6 Aug 2018 07:36:41 +0000 (15:36 +0800)
committerAaron LI <aly@aaronly.me>
Wed, 8 Aug 2018 08:33:19 +0000 (16:33 +0800)
commit1047b69ec58e788e95845d6a577152a68e9d6601
tree4a5ee27a88e0710fbd9f532909b8cd7bca0dfd92
parent595dc8f18c44a1d14a2b0b9b6ba2485cee04d3b5
if_clone: Refactor out if_clone_createif() function

The new if_clone_createif() function will create a clone interface
with the given cloner and unit.
sys/net/if_clone.c