artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b840fae
)
We can fully spell out IP addresses in config files.
author
florian
<florian@openbsd.org>
Wed, 21 Aug 2024 09:17:56 +0000
(09:17 +0000)
committer
florian
<florian@openbsd.org>
Wed, 21 Aug 2024 09:17:56 +0000
(09:17 +0000)
OK claudio
usr.sbin/ldpd/parse.y
patch
|
blob
|
history
diff --git
a/usr.sbin/ldpd/parse.y
b/usr.sbin/ldpd/parse.y
index
91606fb
..
d35621c
100644
(file)
--- a/
usr.sbin/ldpd/parse.y
+++ b/
usr.sbin/ldpd/parse.y
@@
-1,4
+1,4
@@
-/* $OpenBSD: parse.y,v 1.7
2 2021/10/15 15:01:28 naddy
Exp $ */
+/* $OpenBSD: parse.y,v 1.7
3 2024/08/21 09:17:56 florian
Exp $ */
/*
* Copyright (c) 2013, 2015, 2016 Renato Westphal <renato@openbsd.org>
@@
-203,7
+203,7
@@
string : string STRING {
;
routerid : STRING {
- if (!inet_
aton(
$1, &$$)) {
+ if (!inet_
pton(AF_INET,
$1, &$$)) {
yyerror("%s: error parsing router id", $1);
free($1);
YYERROR;