mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-16 13:23:36 +00:00
Fix build broken by r275195.
This commit is contained in:
parent
74860d4f7c
commit
1a3a2b6798
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=275197
|
@ -234,12 +234,14 @@ ether_output(struct ifnet *ifp, struct mbuf *m,
|
|||
#endif
|
||||
case pseudo_AF_HDRCMPLT:
|
||||
{
|
||||
const struct ether_header *eh;
|
||||
|
||||
hdrcmplt = 1;
|
||||
/* FALLTHROUGH */
|
||||
|
||||
case AF_UNSPEC:
|
||||
loop_copy = 0; /* if this is for us, don't do it */
|
||||
eh = (struct ether_header *)dst->sa_data;
|
||||
eh = (const struct ether_header *)dst->sa_data;
|
||||
(void)memcpy(edst, eh->ether_dhost, sizeof (edst));
|
||||
type = eh->ether_type;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue