mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-23 15:56:23 +00:00
pimd: Modify order of command output for vty output
If `ip igmp query-max-response-time` is set move it to display first as that this command has order dependencies on `ip igmp query-interval`. Ticket: CM-21598 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
25f5f03987
commit
c55f7a8003
@ -313,15 +313,6 @@ int pim_interface_config_write(struct vty *vty)
|
|||||||
++writes;
|
++writes;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* IF ip igmp query-interval */
|
|
||||||
if (pim_ifp->igmp_default_query_interval
|
|
||||||
!= IGMP_GENERAL_QUERY_INTERVAL) {
|
|
||||||
vty_out(vty,
|
|
||||||
" ip igmp query-interval %d\n",
|
|
||||||
pim_ifp->igmp_default_query_interval);
|
|
||||||
++writes;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* IF ip igmp query-max-response-time */
|
/* IF ip igmp query-max-response-time */
|
||||||
if (pim_ifp->igmp_query_max_response_time_dsec
|
if (pim_ifp->igmp_query_max_response_time_dsec
|
||||||
!= IGMP_QUERY_MAX_RESPONSE_TIME_DSEC) {
|
!= IGMP_QUERY_MAX_RESPONSE_TIME_DSEC) {
|
||||||
@ -331,6 +322,15 @@ int pim_interface_config_write(struct vty *vty)
|
|||||||
++writes;
|
++writes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* IF ip igmp query-interval */
|
||||||
|
if (pim_ifp->igmp_default_query_interval
|
||||||
|
!= IGMP_GENERAL_QUERY_INTERVAL) {
|
||||||
|
vty_out(vty,
|
||||||
|
" ip igmp query-interval %d\n",
|
||||||
|
pim_ifp->igmp_default_query_interval);
|
||||||
|
++writes;
|
||||||
|
}
|
||||||
|
|
||||||
/* IF ip igmp join */
|
/* IF ip igmp join */
|
||||||
if (pim_ifp->igmp_join_list) {
|
if (pim_ifp->igmp_join_list) {
|
||||||
struct listnode *node;
|
struct listnode *node;
|
||||||
|
Loading…
Reference in New Issue
Block a user