[sr-dev] git:master:f47700bb: usrloc: fixed wrong comments related to the flags fields in ucontact_t

Daniel-Constantin Mierla miconda at gmail.com
Fri Mar 27 18:18:14 CET 2020


Module: kamailio
Branch: master
Commit: f47700bb55cbf19f7d3f7d967bd4c4755a994db5
URL: https://github.com/kamailio/kamailio/commit/f47700bb55cbf19f7d3f7d967bd4c4755a994db5

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-03-27T17:52:53+01:00

usrloc: fixed wrong comments related to the flags fields in ucontact_t

---

Modified: src/modules/usrloc/usrloc.h

---

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

---

diff --git a/src/modules/usrloc/usrloc.h b/src/modules/usrloc/usrloc.h
index 5d071c1734..a9a0309d9d 100644
--- a/src/modules/usrloc/usrloc.h
+++ b/src/modules/usrloc/usrloc.h
@@ -82,8 +82,8 @@ typedef struct ucontact {
 	str callid;             /*!< Call-ID header field of registration */
 	int cseq;               /*!< CSeq value */
 	cstate_t state;         /*!< State of the contact (\ref cstate) */
-	unsigned int flags;     /*!< Various flags (NAT, ping type, etc) */
-	unsigned int cflags;    /*!< Custom contact flags (from script) */
+	unsigned int flags;     /*!< Various internal flags (sync, etc) */
+	unsigned int cflags;    /*!< Custom contact flags (from script - bflags) */
 	str user_agent;         /*!< User-Agent header field */
 	str uniq;               /*!< Uniq header field */
 	struct socket_info *sock; /*!< received socket */




More information about the sr-dev mailing list