aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/dev/queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/dev/queue.c')
-rw-r--r--src/vnet/dev/queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/dev/queue.c b/src/vnet/dev/queue.c
index 9a016a626fb..7efea5f14bd 100644
--- a/src/vnet/dev/queue.c
+++ b/src/vnet/dev/queue.c
@@ -107,7 +107,7 @@ vnet_dev_rx_queue_stop (vlib_main_t *vm, vnet_dev_rx_queue_t *rxq)
{
if (rxq->port->rx_queue_ops.stop)
rxq->port->rx_queue_ops.stop (vm, rxq);
- vlib_node_set_state (vm, rxq->port->intf.rx_node_index,
+ vlib_node_set_state (vm, vnet_dev_get_port_rx_node_index (rxq->port),
VLIB_NODE_STATE_DISABLED);
rxq->started = 0;
}