diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-11-18 12:50:46 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-21 20:26:16 -0500 |
| commit | 8e4c9ef376c2b376f72b6b061c38107522c3aecc (patch) | |
| tree | 27245f6907b800123efcd317453c72362ab7110c /pimd/pim_vty.c | |
| parent | 7176984f745f73c1350b69100295b25824d20dd4 (diff) | |
pimd: Add knob to control # of packets read in at one time
Add 'ip pim packets <1-100>' command.
Allows you to control the number of packets read in before
giving control back to another part of the process.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_vty.c')
| -rw-r--r-- | pimd/pim_vty.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c index b72602e22e..527ca5a507 100644 --- a/pimd/pim_vty.c +++ b/pimd/pim_vty.c @@ -168,6 +168,12 @@ int pim_global_config_write(struct vty *vty) qpim_keep_alive_time, VTY_NEWLINE); ++writes; } + if (qpim_packet_process != PIM_DEFAULT_PACKET_PROCESS) + { + vty_out (vty, "ip pim packets %d%s", + qpim_packet_process, VTY_NEWLINE); + ++writes; + } if (qpim_ssmpingd_list) { struct listnode *node; |
