]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - ip/ipila.c
rdma: Properly mark RDMAtool license
[mirror_iproute2.git] / ip / ipila.c
index 370385c0c375ecc44ad58b1a80f19ed5c07f4a01..11fbb5fae805e44c4a640512143dc809557c05b2 100644 (file)
@@ -81,8 +81,7 @@ static void print_ila_locid(const char *tag, int attr, struct rtattr *tb[])
        print_string(PRINT_ANY, tag, "%-20s", abuf);
 }
 
-static int print_ila_mapping(const struct sockaddr_nl *who,
-                            struct nlmsghdr *n, void *arg)
+static int print_ila_mapping(struct nlmsghdr *n, void *arg)
 {
        struct genlmsghdr *ghdr;
        struct rtattr *tb[ILA_ATTR_MAX + 1];
@@ -128,7 +127,7 @@ static int print_ila_mapping(const struct sockaddr_nl *who,
        else
                print_string(PRINT_FP, NULL, "%s", "-");
 
-       print_string(PRINT_FP, NULL, "%s", _SL_);
+       print_nl();
        close_json_object();
 
        return 0;