]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
tests: when Dot3 feature is disabled, MFS is not transmitted
authorVincent Bernat <bernat@luffy.cx>
Tue, 3 Apr 2012 11:37:49 +0000 (13:37 +0200)
committerVincent Bernat <bernat@luffy.cx>
Tue, 3 Apr 2012 11:37:49 +0000 (13:37 +0200)
tests/check_lldp.c

index 8672e3fb7d9877c80b529d96cdcca5e8127f07f8..45c1597d98adf73de2866d9d2d32369bd68bd210 100644 (file)
@@ -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;
 }