summaryrefslogtreecommitdiffstats
path: root/bpf.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-04-20 19:02:19 +0000
committerRoy Marples <roy@marples.name>2008-04-20 19:02:19 +0000
commit35ff0dbb35b746c5594773ddc47516af440cdae7 (patch)
tree144e8a4e9e870ef40546544b9ce65cdd13930474 /bpf.c
parent7612d18ee2d823cbd61f156191c6b5d6cb41352f (diff)
downloaddhcpcd-35ff0dbb35b746c5594773ddc47516af440cdae7.tar.xz
We should send packets to a specific IP over the udp socket so we don't broadcast on layer 2 and unicast on layer 3, #64.
Diffstat (limited to 'bpf.c')
-rw-r--r--bpf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpf.c b/bpf.c
index e419cb40..da75a315 100644
--- a/bpf.c
+++ b/bpf.c
@@ -122,8 +122,8 @@ eexit:
}
ssize_t
-send_packet(const struct interface *iface, int type,
- const unsigned char *data, ssize_t len)
+send_raw_packet(const struct interface *iface, int type,
+ const unsigned char *data, ssize_t len)
{
struct iovec iov[2];
struct ether_header hw;