diff options
author | Damjan Marion <damarion@cisco.com> | 2021-03-04 18:41:59 +0100 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2021-03-05 11:59:24 +0000 |
commit | 8fb5add31885fcee1abaf60dd903aa566cc53b0d (patch) | |
tree | 774eddc57568e5cad1cb3c2d4a4956501d21a37b /src/vnet/interface_cli.c | |
parent | 3efd4e9998192545c32aeb33a9f8f72a1ba085a9 (diff) |
interface: move vnet_pcap_t to vnet
It naturally belogns there...
Type: refactor
Change-Id: I05f7ba01103a5e9b3756f1ea69c8cc5d8f26f0a0
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/interface_cli.c')
-rw-r--r-- | src/vnet/interface_cli.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/interface_cli.c b/src/vnet/interface_cli.c index 54e0673544f..9ade975937e 100644 --- a/src/vnet/interface_cli.c +++ b/src/vnet/interface_cli.c @@ -1930,7 +1930,8 @@ int vnet_pcap_dispatch_trace_configure (vnet_pcap_dispatch_trace_args_t * a) { vlib_main_t *vm = vlib_get_main (); - vnet_pcap_t *pp = &vm->pcap; + vnet_main_t *vnm = vnet_get_main (); + vnet_pcap_t *pp = &vnm->pcap; pcap_main_t *pm = &pp->pcap_main; vnet_classify_main_t *cm = &vnet_classify_main; |