Change in osmo-e1d[master]: add comment about first byte of E1DP_MAGIC

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Wed Jul 22 07:44:29 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-e1d/+/19360 )

Change subject: add comment about first byte of E1DP_MAGIC
......................................................................

add comment about first byte of E1DP_MAGIC

Change-Id: I7b0a59211521ec631512e6cac7a65e2a2172d538
---
M include/osmocom/e1d/proto.h
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/include/osmocom/e1d/proto.h b/include/osmocom/e1d/proto.h
index d8bce1f..243922d 100644
--- a/include/osmocom/e1d/proto.h
+++ b/include/osmocom/e1d/proto.h
@@ -82,6 +82,8 @@
 };
 
 
+/* the idea here is to use the first byte as a version number, to prevent incompatible
+ * clients from connecting to e1d */
 #define E1DP_MAGIC	0x00e1
 #define E1DP_MAX_LEN	4096
 #define E1DP_TS_SUPERCHAN 0xfe

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/19360
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: I7b0a59211521ec631512e6cac7a65e2a2172d538
Gerrit-Change-Number: 19360
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200722/6bb5c410/attachment.htm>


More information about the gerrit-log mailing list