Skip to content

Commit d24195f

Browse files
committed
use EINVAL
1 parent dc09d27 commit d24195f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sys/net/npf/npf_ext_route.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ npf_fragment(npf_t *npf, struct ifnet *ifp, struct ip *ip1,
169169
npf_stats_inc(npf, NPF_STAT_NOFRAGMENT);
170170
icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_NEEDFRAG, 0,
171171
ifp->if_mtu);
172-
error = -1;
172+
error = EINVAL;
173173
return error;
174174
}
175175
/*

0 commit comments

Comments
 (0)