<p>Neels Hofmeyr has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11925">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">fix osmo-mgw -s; fixes osmo-mgw.service using -s<br><br>Even though osmo-mgw advertises the -s option, the getopt configuration lacks<br>-s and that option does not work. Thus the osmo-mgw.service file that uses -s<br>was unable to start.<br><br>Add 's' to the getopt configuration, fix -s and hence also fix the .service<br>file.<br><br>Change-Id: I6f298aef73eb3486d04706910e9fdbaaebaf2481<br>---<br>M src/osmo-mgw/mgw_main.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/25/11925/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-mgw/mgw_main.c b/src/osmo-mgw/mgw_main.c</span><br><span>index de094c1..583d0fb 100644</span><br><span>--- a/src/osmo-mgw/mgw_main.c</span><br><span>+++ b/src/osmo-mgw/mgw_main.c</span><br><span>@@ -104,7 +104,7 @@</span><br><span>                       {0, 0, 0, 0},</span><br><span>                };</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-          c = getopt_long(argc, argv, "hc:VD", long_options, &option_index);</span><br><span style="color: hsl(120, 100%, 40%);">+              c = getopt_long(argc, argv, "hc:sVD", long_options, &option_index);</span><br><span> </span><br><span>                if (c == -1)</span><br><span>                         break;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11925">change 11925</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/11925"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-mgw </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I6f298aef73eb3486d04706910e9fdbaaebaf2481 </div>
<div style="display:none"> Gerrit-Change-Number: 11925 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>