diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-11-17 08:17:25 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-21 20:26:16 -0500 |
| commit | 8bfb8b67ae63eb0ee81e9c928b11836dcd690d6c (patch) | |
| tree | 49baa69966e7ef2aff40e05fcf8c2c2a3d3230d5 /pimd/pim_zebra.c | |
| parent | 9d8b5695fe8229c86fc606f90a0078e599384c6d (diff) | |
pimd: Allow storing of sg in string format
Debugs are extremely expensive currently. Let's
store 'struct prefix_sg sg' string format in
the ifchannel, upstream and msdp_sa structures.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_zebra.c')
| -rw-r--r-- | pimd/pim_zebra.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pimd/pim_zebra.c b/pimd/pim_zebra.c index 815fbbd2d3..f5c73efe2d 100644 --- a/pimd/pim_zebra.c +++ b/pimd/pim_zebra.c @@ -1188,7 +1188,7 @@ void pim_forward_start(struct pim_ifchannel *ch) if (PIM_DEBUG_PIM_TRACE) zlog_debug("%s %s: could not create OIL for channel (S,G)=%s", __FILE__, __PRETTY_FUNCTION__, - pim_str_sg_dump (&up->sg)); + up->sg_str); return; } } @@ -1205,14 +1205,14 @@ void pim_forward_stop(struct pim_ifchannel *ch) if (PIM_DEBUG_PIM_TRACE) { zlog_debug("%s: (S,G)=%s oif=%s", __PRETTY_FUNCTION__, - pim_str_sg_dump (&ch->sg), ch->interface->name); + ch->sg_str, ch->interface->name); } if (!up->channel_oil) { if (PIM_DEBUG_PIM_TRACE) zlog_debug("%s: (S,G)=%s oif=%s missing channel OIL", __PRETTY_FUNCTION__, - pim_str_sg_dump(&ch->sg), ch->interface->name); + ch->sg_str, ch->interface->name); return; } |
