Feature: fdbased open fd with offset (#272)

This commit is contained in:
yusheng
2023-06-30 13:18:53 +08:00
committed by GitHub
parent 2b494a7517
commit 8309fddef3
5 changed files with 7 additions and 7 deletions

View File

@@ -56,7 +56,7 @@ func parseDevice(s string, mtu uint32) (device.Device, error) {
switch driver {
case fdbased.Driver:
return fdbased.Open(name, mtu)
return fdbased.Open(name, mtu, 0)
case tun.Driver:
return tun.Open(name, mtu)
default: