X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fl2fwd-ivshmem%2Fhost%2Fhost.c;h=4bd7c41ddeeb004130f54ac377d34cedb89b1d19;hb=09419f235e099ecb265a590778fe64a685a2a241;hp=6e6ed5e0f463ea33c008e5bb3cf368895a251172;hpb=f9bd3342114a9db436f71b12ac424aff224482cb;p=dpdk.git diff --git a/examples/l2fwd-ivshmem/host/host.c b/examples/l2fwd-ivshmem/host/host.c index 6e6ed5e0f4..4bd7c41dde 100644 --- a/examples/l2fwd-ivshmem/host/host.c +++ b/examples/l2fwd-ivshmem/host/host.c @@ -371,7 +371,7 @@ check_all_ports_link_status(uint8_t port_num, uint32_t port_mask) continue; } /* clear all_ports_up flag if any link down */ - if (link.link_status == 0) { + if (link.link_status == ETH_LINK_DOWN) { all_ports_up = 0; break; }