dnsd fix; option_mask32 added. dnsd needs more love.
diff --git a/libbb/getopt32.c b/libbb/getopt32.c
index e084965..2f2f0b9 100644
--- a/libbb/getopt32.c
+++ b/libbb/getopt32.c
@@ -302,6 +302,8 @@
const struct option *applet_long_options = bb_default_long_options;
#endif
+uint32_t option_mask32;
+
uint32_t
getopt32(int argc, char **argv, const char *applet_opts, ...)
{
@@ -512,5 +514,7 @@
argc -= optind;
if (argc < min_arg || (max_arg >= 0 && argc > max_arg))
bb_show_usage();
+
+ option_mask32 = flags;
return flags;
}