Change in openbsc[master]: osmo-bsc-mgcp.service: Fix parsing of cmdline option s

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Wed Mar 20 17:44:29 UTC 2019


Pau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/13348


Change subject: osmo-bsc-mgcp.service: Fix parsing of cmdline option s
......................................................................

osmo-bsc-mgcp.service: Fix parsing of cmdline option s

>From journald output:
/usr/bin/osmo-bsc_mgcp: invalid option -- 's'

Change-Id: I995d2f5909640fc007aa39dd6c6b54ff97ee45f7
---
M openbsc/src/osmo-bsc_mgcp/mgcp_main.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/48/13348/1

diff --git a/openbsc/src/osmo-bsc_mgcp/mgcp_main.c b/openbsc/src/osmo-bsc_mgcp/mgcp_main.c
index 6cf9ab7..419f852 100644
--- a/openbsc/src/osmo-bsc_mgcp/mgcp_main.c
+++ b/openbsc/src/osmo-bsc_mgcp/mgcp_main.c
@@ -102,7 +102,7 @@
 			{0, 0, 0, 0},
 		};
 
-		c = getopt_long(argc, argv, "hc:VD", long_options, &option_index);
+		c = getopt_long(argc, argv, "hc:sVD", long_options, &option_index);
 
 		if (c == -1)
 			break;

-- 
To view, visit https://gerrit.osmocom.org/13348
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I995d2f5909640fc007aa39dd6c6b54ff97ee45f7
Gerrit-Change-Number: 13348
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190320/74cefef5/attachment.html>


More information about the gerrit-log mailing list