diff options
| author | Roy Marples <roy@marples.name> | 2008-04-20 19:02:19 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-04-20 19:02:19 +0000 |
| commit | 35ff0dbb35b746c5594773ddc47516af440cdae7 (patch) | |
| tree | 144e8a4e9e870ef40546544b9ce65cdd13930474 /bpf.c | |
| parent | 7612d18ee2d823cbd61f156191c6b5d6cb41352f (diff) | |
| download | dhcpcd-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |
