From 9647c11f539ba482ade5a28824a9d6b9c8f55cec Mon Sep 17 00:00:00 2001 From: Ryan O'Hara Date: Tue, 15 Jul 2014 10:40:05 -0500 Subject: [PATCH] Add patch for iprange --- iprange-return-type.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 iprange-return-type.patch diff --git a/iprange-return-type.patch b/iprange-return-type.patch new file mode 100644 index 0000000..f330f7a --- /dev/null +++ b/iprange-return-type.patch @@ -0,0 +1,17 @@ +--- contrib/iprange/iprange.c.orig 2014-06-27 14:01:26.020159479 -0500 ++++ contrib/iprange/iprange.c 2014-06-27 14:01:42.149275554 -0500 +@@ -111,7 +111,7 @@ static void usage(const char *argv0) + "\n", argv0); + } + +-main(int argc, char **argv) ++int main(int argc, char **argv) + { + char line[MAXLINE]; + int l, lnum; +@@ -198,4 +198,5 @@ main(int argc, char **argv) + convert_range(sa, da, he, NULL); + } + } ++ exit(0); + }