]> git.ipfire.org Git - thirdparty/lldpd.git/blobdiff - src/lldpd-structs.h
Merge pull request #274 from vincentbernat/feature/keep-some-ports
[thirdparty/lldpd.git] / src / lldpd-structs.h
index 6cea04ff961787b59b6b13d48a630eb683d9eb70..162ab0afd5234a0b6f13a5d222c934eaa8140fb7 100644 (file)
@@ -243,6 +243,8 @@ struct lldpd_port {
        struct lldpd_chassis    *p_chassis;    /* Attached chassis */
        time_t                   p_lastchange; /* Time of last change of values */
        time_t                   p_lastupdate; /* Time of last update received */
+       time_t                   p_lastremove;  /* Time of last removal of a remote port. Used for local ports only
+                                                * Used for deciding lldpStatsRemTablesLastChangeTime */
        struct lldpd_frame      *p_lastframe;  /* Frame received during last update */
        u_int8_t                 p_protocol;   /* Protocol used to get this port */
        u_int8_t                 p_hidden_in:1; /* Considered as hidden for reception */