diff --git a/include/iptables.h b/include/iptables.h index 78bc378e..eb91f291 100644 --- a/include/iptables.h +++ b/include/iptables.h @@ -12,7 +12,7 @@ extern int do_command4(int argc, char *argv[], char **table, struct xtc_handle **handle, bool restore); extern int delete_chain4(const xt_chainlabel chain, int verbose, struct xtc_handle *handle); -extern int flush_entries4(const xt_chainlabel chain, int verbose, +extern int flush_entries4(const xt_chainlabel chain, int verbose, struct xtc_handle *handle); extern int for_each_chain4(int (*fn)(const xt_chainlabel, int, struct xtc_handle *), int verbose, int builtinstoo, struct xtc_handle *handle); diff --git a/ip/iplink_macvlan.c b/ip/iplink_macvlan.c index 302a3748..79df17ea 100644 --- a/ip/iplink_macvlan.c +++ b/ip/iplink_macvlan.c @@ -162,7 +162,7 @@ static int macvlan_parse_opt(struct link_util *lu, int argc, char **argv, } else if (matches(*argv, "bcqueuelen") == 0) { __u32 bc_queue_len; NEXT_ARG(); - + if (get_u32(&bc_queue_len, *argv, 0)) { return bc_queue_len_arg(*argv); }