]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - ip/ipl2tp.c
Tree wide: Drop sockaddr_nl arg
[mirror_iproute2.git] / ip / ipl2tp.c
index 16561eccd4582adf4ab871e603331ea1a474debd..4308b591196505e74424a2f3e254fe65a46fce34 100644 (file)
@@ -437,8 +437,7 @@ static int get_response(struct nlmsghdr *n, void *arg)
        return 0;
 }
 
-static int session_nlmsg(const struct sockaddr_nl *who,
-                        struct nlmsghdr *n, void *arg)
+static int session_nlmsg(struct nlmsghdr *n, void *arg)
 {
        int ret = get_response(n, arg);
 
@@ -476,8 +475,7 @@ static int get_session(struct l2tp_data *p)
        return 0;
 }
 
-static int tunnel_nlmsg(const struct sockaddr_nl *who,
-                       struct nlmsghdr *n, void *arg)
+static int tunnel_nlmsg(struct nlmsghdr *n, void *arg)
 {
        int ret = get_response(n, arg);