diff --git a/CONTRIBUTORS b/CONTRIBUTORS index bf65703..42bb3e8 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -6,4 +6,5 @@ daregod Lucus Lee Arroyo Networks, LLC Tony Lu +ajee cai yinheli \ No newline at end of file diff --git a/syscalls_linux.go b/syscalls_linux.go index cda8074..502c5a2 100644 --- a/syscalls_linux.go +++ b/syscalls_linux.go @@ -37,7 +37,7 @@ func newTAP(config Config) (ifce *Interface, err error) { } var flags uint16 - flags = cIFF_TUN | cIFF_NO_PI + flags = cIFF_TAP | cIFF_NO_PI if config.PlatformSpecificParams.MultiQueue { flags |= cIFF_MULTI_QUEUE }