summaryrefslogtreecommitdiff
path: root/src/cmd/netstack/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/netstack/util.c')
-rw-r--r--src/cmd/netstack/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/netstack/util.c b/src/cmd/netstack/util.c
index 68092aa..093c5ac 100644
--- a/src/cmd/netstack/util.c
+++ b/src/cmd/netstack/util.c
@@ -43,6 +43,7 @@ uint16_t ip_checksumphdr(
}
int ip_parse(const char *s, uint32_t *dest) {
+ // TODO use inet_aton
if (!s) return -1;
uint32_t ip = strtol(s, (char**)&s, 0);