diff options
author | imp <imp@FreeBSD.org> | 2003-12-07 05:49:21 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2003-12-07 05:49:21 +0000 |
commit | 072feb7e76a2c3f2fa0605e3f50bddf760b5aa8a (patch) | |
tree | c6728fa2aa72a9e9c464960dd59be14cede3e464 /sys/net | |
parent | 0fc471dff500c8b8eccb64b682646377beb9a2f8 (diff) | |
download | FreeBSD-src-072feb7e76a2c3f2fa0605e3f50bddf760b5aa8a.zip FreeBSD-src-072feb7e76a2c3f2fa0605e3f50bddf760b5aa8a.tar.gz |
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.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_var.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h index c77498f..a2f9178 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -178,7 +178,7 @@ struct ifnet { struct ifqueue if_snd; /* output queue */ struct ifqueue *if_poll_slowq; /* input queue for slow devices */ 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 */ void *if_afdata[AF_MAX]; |