Grab the lock before reading uid/gid related structure, this will
[ipfw.git] / ipfw / ipfw2.c
index 8d6ed87..e9b3fb3 100644 (file)
@@ -1816,7 +1816,6 @@ ipfw_list(int ac, char *av[], int show_counters)
                                bcwidth = width;
                }
        }
-
        if (co.do_dynamic && ndyn) {
                for (n = 0, d = dynrules; n < ndyn; n++, d++) {
                        if (co.use_set) {
@@ -1837,7 +1836,6 @@ ipfw_list(int ac, char *av[], int show_counters)
                                bcwidth = width;
                }
        }
-
        /* if no rule numbers were specified, list all rules */
        if (ac == 0) {
                for (n = 0, r = data; n < nstat; n++, r = NEXT(r)) {