summaryrefslogtreecommitdiff
path: root/libdhcp
diff options
context:
space:
mode:
Diffstat (limited to 'libdhcp')
-rw-r--r--libdhcp/dhcp_client.c2
-rw-r--r--libdhcp/dhcp_common.h2
-rw-r--r--libdhcp/include/libdhcp/client.h6
-rw-r--r--libdhcp/notes.md (renamed from libdhcp/f.md)7
4 files changed, 11 insertions, 6 deletions
diff --git a/libdhcp/dhcp_client.c b/libdhcp/dhcp_client.c
index 4ab456c..3c6ed8d 100644
--- a/libdhcp/dhcp_client.c
+++ b/libdhcp/dhcp_client.c
@@ -429,7 +429,7 @@ static bool dhcp_client_send(struct dhcp_client *client, uint8_t msgtyp, const c
}
struct dhcp_recv_msg {
- struct dhcp_msg raw;
+ struct dhcp_msg raw;
struct {
uint16_t len;
uint8_t *dat;
diff --git a/libdhcp/dhcp_common.h b/libdhcp/dhcp_common.h
index 0be3a27..d400721 100644
--- a/libdhcp/dhcp_common.h
+++ b/libdhcp/dhcp_common.h
@@ -74,7 +74,7 @@
#include "config.h"
#ifndef CONFIG_DHCP_OPT_SIZE
- #define CONFIG_DHCP_OPT_SIZE DHCP_MSG_MIN_MAX_OPT_SIZE
+ #define CONFIG_DHCP_OPT_SIZE DHCP_MSG_MIN_MAX_OPT_SIZE
#endif
/* RFC 2131 definitions *******************************************************/
diff --git a/libdhcp/include/libdhcp/client.h b/libdhcp/include/libdhcp/client.h
index b0eaa52..1aa23d0 100644
--- a/libdhcp/include/libdhcp/client.h
+++ b/libdhcp/include/libdhcp/client.h
@@ -64,12 +64,12 @@
* SPDX-License-Identifier: MIT
*/
-#ifndef _LIBDHCP_DHCP_H_
-#define _LIBDHCP_DHCP_H_
+#ifndef _LIBDHCP_CLIENT_H_
+#define _LIBDHCP_CLIENT_H_
#include <libhw/generic/net.h>
__attribute__((noreturn)) void dhcp_client_main(implements_net_iface *iface,
char *self_hostname);
-#endif /* _LIBDHCP_DHCP_H_ */
+#endif /* _LIBDHCP_CLIENT_H_ */
diff --git a/libdhcp/f.md b/libdhcp/notes.md
index 447ee5b..ac14ae2 100644
--- a/libdhcp/f.md
+++ b/libdhcp/notes.md
@@ -1,4 +1,9 @@
-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+<!--
+ libdhcp/notes.md - Description of sbc-harness
+
+ Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com>
+ SPDX-License-Identifier: AGPL-3.0-or-later
+-->
| <c> | | <c> |
| In the message from the | | ... then the server ... |