diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2020-03-19 14:03:31 +0100 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-03-21 12:06:26 +0000 |
commit | 529f0e97b6064039c500adce0d54b738954b2ffa (patch) | |
tree | ae4835cad1a0843fe0d22ed66dc2798e6bf55048 /src/vppinfra/pool.h | |
parent | e5d34919b4561a5ee11e41dec6b0184537b39696 (diff) |
virtio: fix link up/down flag
Type: fix
"set int state <interface> down" puts the virtio device link
down. It will not put the link in "UP" state, when
"set int state <interface up>" will be used again to change
the interface admin up. This patch fixes it.
To test:
create tap
set int state tap0 up
set int state tap0 down
sh hardware
sh int
set int state tap0 up
sh int
sh hardware
Change-Id: I3c0e31539f8a2a1e40220e7fb57eedecf408f067
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vppinfra/pool.h')
0 files changed, 0 insertions, 0 deletions