Change in libosmocore[master]: ns2: change the 'priority' setting name to 'socket-priority'

laforge gerrit-no-reply at lists.osmocom.org
Thu Apr 29 19:29:53 UTC 2021


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/23984 )


Change subject: ns2: change the 'priority' setting name to 'socket-priority'
......................................................................

ns2: change the 'priority' setting name to 'socket-priority'

This has been changed based on feedback from Pau Espin in osmo-mgw,
and for consistency we also adjust it here.  No backwards compat
needed as it was just introduced yesterday.

Change-Id: I88989dc17c8996609b895c43012f8cca98aa81dc
---
M src/gb/gprs_ns2_vty.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/84/23984/1

diff --git a/src/gb/gprs_ns2_vty.c b/src/gb/gprs_ns2_vty.c
index 0fd7c17..a782c5c 100644
--- a/src/gb/gprs_ns2_vty.c
+++ b/src/gb/gprs_ns2_vty.c
@@ -470,7 +470,7 @@
 		if (vbind->dscp)
 			vty_out(vty, "  dscp %u%s", vbind->dscp, VTY_NEWLINE);
 		if (vbind->priority)
-			vty_out(vty, "  priority %u%s", vbind->priority, VTY_NEWLINE);
+			vty_out(vty, "  socket-priority %u%s", vbind->priority, VTY_NEWLINE);
 		vty_out(vty, "  ip-sns signalling-weight %u data-weight %u%s",
 			vbind->ip_sns_sig_weight, vbind->ip_sns_data_weight, VTY_NEWLINE);
 		break;
@@ -726,7 +726,7 @@
 }
 
 DEFUN(cfg_ns_bind_priority, cfg_ns_bind_priority_cmd,
-      "priority <0-255>",
+      "socket-priority <0-255>",
       "Set socket priority on the UDP socket\n" "Priority Value (>6 requires CAP_NET_ADMIN)\n")
 {
 	struct vty_bind *vbind = vty->index;

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I88989dc17c8996609b895c43012f8cca98aa81dc
Gerrit-Change-Number: 23984
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210429/95a41175/attachment-0001.htm>


More information about the gerrit-log mailing list