artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2471dd6
)
s/inet_aton/inet_pton/
author
florian
<florian@openbsd.org>
Wed, 21 Aug 2024 09:19:55 +0000
(09:19 +0000)
committer
florian
<florian@openbsd.org>
Wed, 21 Aug 2024 09:19:55 +0000
(09:19 +0000)
OK claudio
usr.sbin/dhcpd/dhcpd.c
patch
|
blob
|
history
diff --git
a/usr.sbin/dhcpd/dhcpd.c
b/usr.sbin/dhcpd/dhcpd.c
index
926df91
..
3d9ffbb
100644
(file)
--- a/
usr.sbin/dhcpd/dhcpd.c
+++ b/
usr.sbin/dhcpd/dhcpd.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: dhcpd.c,v 1.
59 2023/10/06 05:31:54 jmc
Exp $ */
+/* $OpenBSD: dhcpd.c,v 1.
60 2024/08/21 09:19:55 florian
Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@cvs.openbsd.org>
@@
-147,7
+147,7
@@
main(int argc, char *argv[])
case 'u':
udpsockmode = 1;
if (optarg != NULL) {
- if (inet_
aton(
optarg, &udpaddr) != 1)
+ if (inet_
pton(AF_INET,
optarg, &udpaddr) != 1)
errx(1, "Cannot parse binding IP "
"address: %s", optarg);
}