ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] Allowing --with-release to take hex strings ...

From: Richard Sharpe <realrichardsharpe@xxxxxxxxx>
Date: Wed, 11 Jan 2017 13:29:36 -0800
Hi folks,

Does anyone have a problem with a change like this:

diff --git a/configure.ac b/configure.ac
index d45f259..eeac905 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,7 +58,7 @@ AC_ARG_WITH([release],
 AC_HELP_STRING( [--with-release=@<:@1/no/4/5@:>@],
       [set release-number in package @<:@default=1@:>@]),
        with_release="$withval", with_release=1)
-re="^[[0-9]]+$"
+re="^[[0-9a-f]]+$"
 if [[[ "$with_release" =~ $re ]]]; then
         RELEASE="$with_release"
 else
--
2.3.6


-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)