tapcli: change interface name 09/9709/3
authorDamjan Marion <damarion@cisco.com>
Mon, 4 Dec 2017 14:14:52 +0000 (15:14 +0100)
committerDamjan Marion <dmarion.lists@gmail.com>
Mon, 4 Dec 2017 17:07:13 +0000 (17:07 +0000)
As tapcli code is going to be deprecated and replaced with tap v2 code,
change the interface naming so the new code can use form tap-X.

Change-Id: I2684a880c037caee677927214752c00cf97f63f6
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/vnet/unix/tapcli.c

index d80cca3..3ad8338 100644 (file)
@@ -604,7 +604,7 @@ static u8 * format_tapcli_interface_name (u8 * s, va_list * args)
   if (show_dev_instance != ~0)
     i = show_dev_instance;
 
-  s = format (s, "tap-%d", i);
+  s = format (s, "tapcli-%d", i);
   return s;
 }