]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - tc/q_multiq.c
rdma: Properly mark RDMAtool license
[mirror_iproute2.git] / tc / q_multiq.c
index 782393149456346c6914934dbc9af7d64ad4bfdd..8ad9e0b2fa3ca9ee3b8cb68f3785f9bd46685aff 100644 (file)
@@ -25,7 +25,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
-#include <syslog.h>
 #include <fcntl.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
@@ -41,9 +40,9 @@ static void explain(void)
 }
 
 static int multiq_parse_opt(struct qdisc_util *qu, int argc, char **argv,
-                           struct nlmsghdr *n)
+                           struct nlmsghdr *n, const char *dev)
 {
-       struct tc_multiq_qopt opt;
+       struct tc_multiq_qopt opt = {};
 
        if (argc) {
                if (strcmp(*argv, "help") == 0) {