diff options
Diffstat (limited to 'src/drivers/linux')
| -rw-r--r-- | src/drivers/linux/tap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/linux/tap.c b/src/drivers/linux/tap.c index 53bb16a30..99937d74d 100644 --- a/src/drivers/linux/tap.c +++ b/src/drivers/linux/tap.c @@ -216,6 +216,9 @@ static int tap_probe(struct linux_device *device, struct linux_device_request *r } nic->interface = if_setting->value; + snprintf ( device->dev.name, sizeof ( device->dev.name ), "%s", + nic->interface ); + device->dev.desc.bus_type = BUS_TYPE_TAP; if_setting->applied = 1; /* Apply rest of the settings */ |
