In spite of the feature freeze, check in a complete rework of route which

fixes some bugs, adds some error checking, and removes _lots_ of bloat.
Text size on i386...
              old     new
   ipv6      5425    3523
   no ipv6   3143    2193
This commit is contained in:
Manuel Novoa III 2004-03-10 07:42:38 +00:00
parent 2715fa147a
commit 7d0c51919c
4 changed files with 634 additions and 618 deletions

View file

@ -2039,13 +2039,21 @@
#define rmmod_example_usage \
"$ rmmod tulip\n"
#ifdef CONFIG_FEATURE_IPV6
#define USAGE_ROUTE_IPV6(a) a
#else
#define USAGE_ROUTE_IPV6(a) "\t"
#endif
#define route_trivial_usage \
"[{add|del|flush}]"
"[{add|del|delete}]"
#define route_full_usage \
"Edit the kernel's routing tables.\n\n" \
"Options:\n" \
"\t-n\tDont resolve names.\n" \
"\t-e\tDisplay other/more information"
"\t-n\t\tDont resolve names.\n" \
"\t-e\t\tDisplay other/more information.\n" \
"\t-A inet" USAGE_ROUTE_IPV6("{6}") "\tSelect address family."
#define rpm_trivial_usage \
"-i -q[ildc]p package.rpm"