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-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c21153327ee2340e94635f3676181a472556b3e4;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 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; }