Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
7223959
)
tapcli: change interface name
09/9709/3
author
Damjan Marion
<damarion@cisco.com>
Mon, 4 Dec 2017 14:14:52 +0000
(15:14 +0100)
committer
Damjan 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
patch
|
blob
|
history
diff --git
a/src/vnet/unix/tapcli.c
b/src/vnet/unix/tapcli.c
index
d80cca3
..
3ad8338
100644
(file)
--- a/
src/vnet/unix/tapcli.c
+++ b/
src/vnet/unix/tapcli.c
@@
-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, "tap
cli
-%d", i);
return s;
}