summaryrefslogtreecommitdiff
path: root/src/libsystemd-dhcp/dhcp-internal.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-02-23 14:15:05 +0100
committerTom Gundersen <teg@jklm.no>2014-02-23 16:16:09 +0100
commit06b44be71db4033db8c855491a95f3cf0e7e4595 (patch)
tree975bb71c2b1b1f99d6c643a415529391057ff68c /src/libsystemd-dhcp/dhcp-internal.h
parenteda8f06755bd98c4639293c26b856c225f0d1fe1 (diff)
sd-dhcp: equally verify udp and raw dhcp messages
Also be more explicit about why packages are ignored.
Diffstat (limited to 'src/libsystemd-dhcp/dhcp-internal.h')
-rw-r--r--src/libsystemd-dhcp/dhcp-internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-dhcp/dhcp-internal.h b/src/libsystemd-dhcp/dhcp-internal.h
index efb8ea5411..9a997c10c4 100644
--- a/src/libsystemd-dhcp/dhcp-internal.h
+++ b/src/libsystemd-dhcp/dhcp-internal.h
@@ -48,8 +48,8 @@ int dhcp_option_parse(DHCPMessage *message, size_t len,
int dhcp_message_init(DHCPMessage *message, uint8_t op, uint32_t xid, uint8_t type,
uint16_t secs, uint8_t **opt, size_t *optlen);
-void dhcp_packet_append_ip_headers(DHCPPacket *packet, uint8_t op, uint16_t len);
+void dhcp_packet_append_ip_headers(DHCPPacket *packet, uint16_t len);
-int dhcp_packet_verify_headers(DHCPPacket *packet, uint8_t op, size_t len);
+int dhcp_packet_verify_headers(DHCPPacket *packet, size_t len);
#define log_dhcp_client(client, fmt, ...) log_meta(LOG_DEBUG, __FILE__, __LINE__, __func__, "DHCP CLIENT: " fmt, ##__VA_ARGS__)