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
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;