summaryrefslogtreecommitdiff
path: root/libnet/src/libnet_link_snoop.c
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2009-11-10 11:47:44 -0800
committerSam Roberts <vieuxtech@gmail.com>2009-11-10 11:47:44 -0800
commitde091469395240a987a575f08e23c7627fdc56d8 (patch)
tree19a2963fcf5e56449a22e0e6fe8f7afeb30e0937 /libnet/src/libnet_link_snoop.c
parentf7da4b67e0b36d67c25fe79f9919a7ec929bb3e3 (diff)
downloadlibnet-de091469395240a987a575f08e23c7627fdc56d8.tar.gz
Declared many constant arguments as const, const-correct code spews warnings when built against libnet.
Diffstat (limited to 'libnet/src/libnet_link_snoop.c')
-rw-r--r--libnet/src/libnet_link_snoop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnet/src/libnet_link_snoop.c b/libnet/src/libnet_link_snoop.c
index 6adbfa0..66a4ef8 100644
--- a/libnet/src/libnet_link_snoop.c
+++ b/libnet/src/libnet_link_snoop.c
@@ -132,7 +132,7 @@ libnet_close_link(libnet_t *l)
int
-libnet_write_link(libnet_t *l, uint8_t *buf, uint32_t len)
+libnet_write_link(libnet_t *l, const uint8_t *buf, uint32_t len)
{
int c;
struct ifreq ifr;