Module: kamailio
Branch: 5.8
Commit: a7d4ce95b383dc26c547ef9ee07b05d51abc50f9
URL: 
https://github.com/kamailio/kamailio/commit/a7d4ce95b383dc26c547ef9ee07b05d51abc50f9

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2024-03-20T13:16:00+01:00

keepalive: small formatting updates and comments to the ka dest structure

(cherry picked from commit cee82c92b06a026b88fea654944f6146eb5cb4d8)

---

Modified: src/modules/keepalive/keepalive.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/a7d4ce95b383dc26c547ef9ee07b05d51abc50f9.diff
Patch: 
https://github.com/kamailio/kamailio/commit/a7d4ce95b383dc26c547ef9ee07b05d51abc50f9.patch

---

diff --git a/src/modules/keepalive/keepalive.h 
b/src/modules/keepalive/keepalive.h
index d5a8fcb2197..5ca1ce3561d 100644
--- a/src/modules/keepalive/keepalive.h
+++ b/src/modules/keepalive/keepalive.h
@@ -69,13 +69,15 @@ typedef struct _ka_initial_dest
 typedef struct _ka_dest
 {
        str uri;
-       str owner; // name of destination "owner"
-                          // (module asking to monitor this destination
-       str uuid;  // Universal id for this record
+       str owner; /*!< Name of destination "owner" */
+                          /*!< Module asking to monitor this destination */
+       str uuid;  /*!< Universal id for this record */
        int flags;
        int state;
-       time_t last_checked, last_up, last_down;
-       int counter;               // counts unreachable attempts
+       time_t last_checked;
+       time_t last_up;            /*!< Time of last successful SIP reply */
+       time_t last_down;          /*!< Time of last failure SIP reply */
+       int counter;               /*!< Counts unreachable attempts */
        ticks_t ping_interval; /*!< Actual interval between OPTIONS  */
 
        void *user_attr;

_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to