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

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
Thu Apr 29 19:49:05 UTC 2021


laforge has submitted this change. ( 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(-)

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



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-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/20210429/c9214fe8/attachment.htm>


More information about the gerrit-log mailing list