From c21153327ee2340e94635f3676181a472556b3e4 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Tue, 3 Apr 2012 13:37:49 +0200 Subject: [PATCH] tests: when Dot3 feature is disabled, MFS is not transmitted --- tests/check_lldp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/check_lldp.c b/tests/check_lldp.c index 0316960e..fd3a0211 100644 --- a/tests/check_lldp.c +++ b/tests/check_lldp.c @@ -19,7 +19,9 @@ check_received_port( fail_unless(memcmp(rport->p_id, sport->p_id, rport->p_id_len) == 0); ck_assert_str_eq(rport->p_descr, sport->p_descr); +#ifdef ENABLE_DOT3 ck_assert_int_eq(rport->p_mfs, sport->p_mfs); +#endif return; } -- 2.39.5