commit a50e0e62c76c85f67283f9bce5cf9021d64ae2c7 Author: Aaron LI <a...@aaronly.me> Date: Tue Jul 31 19:43:48 2018 +0800
if_tun: Clean up tunioctl() Introduce a variable 'caddr_t data' to make code cleaner. Also improve the switch flow a bit. Based on: if_tap.c Summary of changes: sys/net/tun/if_tun.c | 45 +++++++++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 20 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a50e0e62c76c85f67283f9bce5cf9021d64ae2c7 -- DragonFly BSD source repository