summaryrefslogtreecommitdiffstats
path: root/debian/patches/0001-Add-moo-feature.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-09 13:14:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-09 13:14:36 +0000
commit5e7a022920dd5834e3645bbf7e1ba5752ba633a1 (patch)
treecd44616fa76ffd61f590243fba3e370d5a7056f6 /debian/patches/0001-Add-moo-feature.patch
parentAdding upstream version 6.8.0. (diff)
downloadiproute2-5e7a022920dd5834e3645bbf7e1ba5752ba633a1.tar.xz
iproute2-5e7a022920dd5834e3645bbf7e1ba5752ba633a1.zip
Adding debian version 6.8.0-1.debian/6.8.0-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/0001-Add-moo-feature.patch')
-rw-r--r--debian/patches/0001-Add-moo-feature.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/debian/patches/0001-Add-moo-feature.patch b/debian/patches/0001-Add-moo-feature.patch
new file mode 100644
index 0000000..487ad0f
--- /dev/null
+++ b/debian/patches/0001-Add-moo-feature.patch
@@ -0,0 +1,34 @@
+Author: Alexander Wirt <formorer@debian.org>
+Description: Add moo feature
+ critical value-add business feature for Debian
+Forwarded: not-needed
+--- 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 }
+ };
+