From: Vincent Bernat Date: Tue, 3 Apr 2012 11:37:49 +0000 (+0200) Subject: tests: when Dot3 feature is disabled, MFS is not transmitted X-Git-Tag: 0.6.0~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5345fe05fa8a628d0e665ed56ef8da93b429e665;p=thirdparty%2Flldpd.git tests: when Dot3 feature is disabled, MFS is not transmitted --- diff --git a/tests/check_lldp.c b/tests/check_lldp.c index 8672e3fb..45c1597d 100644 --- a/tests/check_lldp.c +++ b/tests/check_lldp.c @@ -21,7 +21,9 @@ check_received_port( ck_assert_int_eq(rport->p_id_len, sport->p_id_len); ck_assert_str_eq_n(rport->p_id, sport->p_id, sport->p_id_len); 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; }