]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Added -d and -t short options to getopt_long() call.
authorMarc Boucher <marc@mbsi.ca>
Thu, 6 Dec 2001 15:05:48 +0000 (15:05 +0000)
committerMarc Boucher <marc@mbsi.ca>
Thu, 6 Dec 2001 15:05:48 +0000 (15:05 +0000)
iptables-save.c

index c25e636ccb733debe2a9d182ab11c502c60524c0..e57cd7ccb45fcec38abe54bec3d388e4edf3613c 100644 (file)
@@ -320,7 +320,7 @@ int main(int argc, char *argv[])
        init_extensions();
 #endif
 
-       while ((c = getopt_long(argc, argv, "bc", options, NULL)) != -1) {
+       while ((c = getopt_long(argc, argv, "bcdt:", options, NULL)) != -1) {
                switch (c) {
                case 'b':
                        binary = 1;