]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
route.c: fix windows build by removing mismatching function parameter
authorAntonio Quartulli <antonio@openvpn.net>
Mon, 17 Jun 2019 12:41:10 +0000 (14:41 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 17 Jun 2019 17:35:08 +0000 (19:35 +0200)
Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20190617124110.30907-2-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg18551.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/route.c

index c92a1343f259a4fc2990cbbb075d8aff4f4433f1..4cdc4a9fd9916362c02b95f623d29b8929284457 100644 (file)
@@ -2799,7 +2799,7 @@ windows_route_find_if_index(const struct route_ipv4 *r, const struct tuntap *tt)
  */
 void
 get_default_gateway_ipv6(struct route_ipv6_gateway_info *rgi6,
-                         const struct in6_addr *dest, openvpn_net_ctx_t *ctx)
+                         const struct in6_addr *dest)
 {
     struct gc_arena gc = gc_new();
     MIB_IPFORWARD_ROW2 BestRoute;