mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Make the if_broadcastaddr const. All the drivers in the tree which
violated the constness were corrected before the freeze. This was suggested by mdodd@, I think, and sam@ and others have signed off on this if I recall my conversations with them correctly.
This commit is contained in:
parent
0482f576f1
commit
2ab763ec2a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123220
@ -178,7 +178,7 @@ struct ifnet {
|
|||||||
struct ifqueue if_snd; /* output queue */
|
struct ifqueue if_snd; /* output queue */
|
||||||
struct ifqueue *if_poll_slowq; /* input queue for slow devices */
|
struct ifqueue *if_poll_slowq; /* input queue for slow devices */
|
||||||
struct ifprefixhead if_prefixhead; /* list of prefixes per if */
|
struct ifprefixhead if_prefixhead; /* list of prefixes per if */
|
||||||
u_int8_t *if_broadcastaddr; /* linklevel broadcast bytestring */
|
const u_int8_t *if_broadcastaddr; /* linklevel broadcast bytestring */
|
||||||
struct label *if_label; /* interface MAC label */
|
struct label *if_label; /* interface MAC label */
|
||||||
|
|
||||||
void *if_afdata[AF_MAX];
|
void *if_afdata[AF_MAX];
|
||||||
|
Loading…
Reference in New Issue
Block a user