From 8fb5add31885fcee1abaf60dd903aa566cc53b0d Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Thu, 4 Mar 2021 18:41:59 +0100 Subject: interface: move vnet_pcap_t to vnet It naturally belogns there... Type: refactor Change-Id: I05f7ba01103a5e9b3756f1ea69c8cc5d8f26f0a0 Signed-off-by: Damjan Marion --- src/vnet/interface_cli.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/vnet/interface_cli.c') 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; -- cgit 1.2.3-korg