diff options
-rw-r--r-- | sys/netinet/if_ether.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index 92df01b..9d3c95a 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -178,6 +178,7 @@ arp_rtrequest(req, rt, info) * restore cloning bit. */ if ((rt->rt_flags & RTF_HOST) == 0 && + rt_mask(rt) != NULL && SIN(rt_mask(rt))->sin_addr.s_addr != 0xffffffff) rt->rt_flags |= RTF_CLONING; if (rt->rt_flags & RTF_CLONING) { |