[dev] Help Strings with no newline termination
Donald Sharp
sharpd at cumulusnetworks.com
Sat Apr 15 09:00:03 EDT 2017
If someone is looking for a quick project, I keep running across this
type of issue:
"Prepend to the as-path\n"
"Use the peer's AS-number\n"
- "Number of times to insert")
+ "Number of times to insert\n")
{
return set_aspath_prepend_asn (self, vty, argc, argv);
}
While visual inspection works, it would be nice if someone wrote a
script to find all the cases where we have the various DEFUNS with a
non null terminated string.
thanks!
donald
More information about the dev
mailing list