Author: Alexander Wirt Description: Add moo feature Forwarded: no, critical value-add business feature for Debian --- a/ip/ip.c +++ b/ip/ip.c @@ -87,6 +87,19 @@ return 0; } +static int do_moo(int argc, char **argv) +{ + fprintf(stderr, +"\n" +" _ __ ___ ___ ___\n" +"| '_ ` _ \\ / _ \\ / _ \\\n" +"| | | | | | (_) | (_) |\n" +"|_| |_| |_|\\___/ \\___/\n" +"\n\n" +"P.S. no real cows were harmed for this moo\n"); + exit(1); +} + static const struct cmd { const char *cmd; int (*func)(int argc, char **argv); @@ -125,6 +138,7 @@ { "ioam", do_ioam6 }, { "help", do_help }, { "stats", do_ipstats }, + { "moo", do_moo }, { 0 } };