In order for cli to show up it must be scanned by the extract.pl script to build vtysh_cmd.c. lib/memory.c is not scanned and as such there is no hook generated to ever call the code. Therefore this code is unused dead code. The 'show memory' command was being called via vtysh.c code to call each individual demon 'show memory' command. I saw no need to rewrite this code or to modify lib/Makefile.am to include the scan of memory.c if no-one has complained or noticed this unused functionality
donald On Wed, Aug 12, 2015 at 2:45 PM, Michael H Lambert <[email protected]> wrote: > Donald, > > > On 12 Aug 2015, at 14:32, Donald Sharp <[email protected]> > wrote: > > > > The 'show memory XXXX' functionality is not used at all. > > This removes the unused code > > What do you mean by "not used at all"? Irredeemably broken or something > else? > > Thanks, > > Michael > > > _______________________________________________ > Quagga-dev mailing list > [email protected] > https://lists.quagga.net/mailman/listinfo/quagga-dev >
_______________________________________________ Quagga-dev mailing list [email protected] https://lists.quagga.net/mailman/listinfo/quagga-dev
