-/* $OpenBSD: if_gif.c,v 1.105 2017/11/20 10:35:24 mpi Exp $ */
+/* $OpenBSD: if_gif.c,v 1.106 2018/01/09 10:08:01 mpi Exp $ */
/* $KAME: if_gif.c,v 1.43 2001/02/20 08:51:07 itojun Exp $ */
/*
switch (sc->gif_psrc->sa_family) {
case AF_INET:
- ip_output(m, NULL, NULL, 0, NULL, NULL, 0);
+ ip_send(m);
break;
#ifdef INET6
case AF_INET6:
- /*
- * force fragmentation to minimum MTU, to avoid path
- * MTU discovery. It is too painful to ask for resend
- * of inner packet, to achieve path MTU discovery for
- * encapsulated packets.
- */
- ip6_output(m, 0, NULL, IPV6_MINMTU, 0, NULL);
+ ip6_send(m);
break;
#endif
default: