]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - tipc/nametable.c
ll_map: Add function to remove link cache entry by index
[mirror_iproute2.git] / tipc / nametable.c
index eb4bd0bda83583bd44ac8134996f25fc1ef5b093..d899eeb67c07dcf0edd2d32410b7d0c6413b3f1d 100644 (file)
@@ -58,14 +58,19 @@ static int nametable_show_cb(const struct nlmsghdr *nlh, void *data)
        open_json_object(NULL);
        print_uint(PRINT_ANY, "type", "%-10u",
                           mnl_attr_get_u32(publ[TIPC_NLA_PUBL_TYPE]));
+       print_string(PRINT_FP, NULL, " ", "");
        print_uint(PRINT_ANY, "lower", "%-10u",
                           mnl_attr_get_u32(publ[TIPC_NLA_PUBL_LOWER]));
+       print_string(PRINT_FP, NULL, " ", "");
        print_uint(PRINT_ANY, "upper", "%-10u",
                           mnl_attr_get_u32(publ[TIPC_NLA_PUBL_UPPER]));
+       print_string(PRINT_FP, NULL, " ", "");
        print_string(PRINT_ANY, "scope", "%-8s",
                             scope[mnl_attr_get_u32(publ[TIPC_NLA_PUBL_SCOPE])]);
+       print_string(PRINT_FP, NULL, " ", "");
        print_uint(PRINT_ANY, "port", "%-10u",
                           mnl_attr_get_u32(publ[TIPC_NLA_PUBL_REF]));
+       print_string(PRINT_FP, NULL, " ", "");
        print_string(PRINT_ANY, "node", "%s", str);
        print_string(PRINT_FP, NULL, "\n", "");
        close_json_object();