summaryrefslogtreecommitdiffstats
path: root/net.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-03-10 17:28:18 +0000
committerRoy Marples <roy@marples.name>2009-03-10 17:28:18 +0000
commitce6b39df64069a367cf62fd2bf450613ea54fc1a (patch)
tree6086bad95b20cbd34f8ddbf5e603a4465f259912 /net.h
parentd14bdb3d441eae153235f877045d5ea8b098cebb (diff)
downloaddhcpcd-ce6b39df64069a367cf62fd2bf450613ea54fc1a.tar.xz
We need to blacklist IP addresses at the packet level
so we can ignore NAKs from rogue servers who don't supply a ServerID, or supply a fake one.
Diffstat (limited to 'net.h')
-rw-r--r--net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net.h b/net.h
index 3ebc454a..19abb91d 100644
--- a/net.h
+++ b/net.h
@@ -137,7 +137,7 @@ const size_t udp_dhcp_len;
ssize_t make_udp_packet(uint8_t **, const uint8_t *, size_t,
struct in_addr, struct in_addr);
ssize_t get_udp_data(const uint8_t **, const uint8_t *);
-int valid_udp_packet(const uint8_t *, size_t);
+int valid_udp_packet(const uint8_t *, size_t, struct in_addr *);
int open_socket(struct interface *, int);
ssize_t send_packet(const struct interface *, struct in_addr,