getopt_ulflags -> getopt32.
[oweals/busybox.git] / networking / route.c
index 5fd888617cc022c6ab1193a9a063cdf04ff15b9a..2e6e017b6321f76e8f45ad4400ef58821b0c6477 100644 (file)
@@ -647,7 +647,7 @@ static const char tbl_verb[] =      /* 2nd byte matches RTACTION_* code */
 
 int route_main(int argc, char **argv)
 {
-       unsigned long opt;
+       unsigned opt;
        int what;
        char *family;
 
@@ -662,7 +662,7 @@ int route_main(int argc, char **argv)
                }
        }
 
-       opt = bb_getopt_ulflags(argc, argv, "A:ne", &family);
+       opt = getopt32(argc, argv, "A:ne", &family);
 
        if ((opt & ROUTE_OPT_A) && strcmp(family, "inet")) {
 #ifdef CONFIG_FEATURE_IPV6