<p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/17443">View Change</a></p><p>2 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/17443/2/src/osmo-bts-virtual/main.c">File src/osmo-bts-virtual/main.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bts/+/17443/2/src/osmo-bts-virtual/main.c@126">Patch Set #2, Line 126:</a> <code style="font-family:monospace,monospace">  plink->u.virt.ttl = -1;</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Worth adding here a comment with the -1 meaning. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">relaly? Without checking I would say we hve tons of similar examples so far, but I can amend the commit if you like.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/17443/2/src/osmo-bts-virtual/virtualbts_vty.c">File src/osmo-bts-virtual/virtualbts_vty.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bts/+/17443/2/src/osmo-bts-virtual/virtualbts_vty.c@178">Patch Set #2, Line 178:</a> <code style="font-family:monospace,monospace">ttl <0-255></code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">There should be a way to set it back to -1. How about this? […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">there is no need for that, as changes are only permitted as long as the PHY link is shutdown, i.e. before it has started.  So I think there is no way to ever modify it back.  And even if you did, there is no setsockopt to un-set the TTL, so we'd have to close the socket and re-open it, ...</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/17443">change 17443</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-bts/+/17443"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bts </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I18a9f93b764aee4e1dc68a1c6ac4d078e52ca61d </div>
<div style="display:none"> Gerrit-Change-Number: 17443 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 10 Mar 2020 20:29:44 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Comment-In-Reply-To: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>