diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-02 10:35:14 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-02 10:38:48 -0400 | 
| commit | c55f7a8003faab390c2b02eecbadf632f748122e (patch) | |
| tree | 18d02639ff37625138fe94e38acac9c6ba09a7de /pimd | |
| parent | 25f5f0398766e756fccb562dda7b0d55b86fe7ea (diff) | |
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>
Diffstat (limited to 'pimd')
| -rw-r--r-- | pimd/pim_vty.c | 18 | 
1 files changed, 9 insertions, 9 deletions
diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c index 862b2cc148..f4d833c26f 100644 --- a/pimd/pim_vty.c +++ b/pimd/pim_vty.c @@ -313,15 +313,6 @@ int pim_interface_config_write(struct vty *vty)  					++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 (pim_ifp->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;  				} +				/* 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 (pim_ifp->igmp_join_list) {  					struct listnode *node;  | 
