Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet6/ip6_forward.c
Show First 20 Lines • Show All 395 Lines • ▼ Show 20 Lines | if (error) { | ||||
} | } | ||||
} | } | ||||
if (mcopy == NULL) | if (mcopy == NULL) | ||||
goto out; | goto out; | ||||
switch (error) { | switch (error) { | ||||
case 0: | case 0: | ||||
if (type == ND_REDIRECT) { | if (type == ND_REDIRECT) { | ||||
icmp6_redirect_output(mcopy, rt); | icmp6_redirect_output(mcopy, rt->rt_nhop); | ||||
goto out; | goto out; | ||||
} | } | ||||
goto freecopy; | goto freecopy; | ||||
case EMSGSIZE: | case EMSGSIZE: | ||||
/* xxx MTU is constant in PPP? */ | /* xxx MTU is constant in PPP? */ | ||||
goto freecopy; | goto freecopy; | ||||
Show All 25 Lines |