artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e13b122
)
We can fully spell out IP addresses in config files.
author
florian
<florian@openbsd.org>
Wed, 21 Aug 2024 09:20:36 +0000
(09:20 +0000)
committer
florian
<florian@openbsd.org>
Wed, 21 Aug 2024 09:20:36 +0000
(09:20 +0000)
OK claudio
usr.sbin/eigrpd/parse.y
patch
|
blob
|
history
diff --git
a/usr.sbin/eigrpd/parse.y
b/usr.sbin/eigrpd/parse.y
index
5101770
..
76118b4
100644
(file)
--- a/
usr.sbin/eigrpd/parse.y
+++ b/
usr.sbin/eigrpd/parse.y
@@
-1,4
+1,4
@@
-/* $OpenBSD: parse.y,v 1.3
2 2021/10/15 15:01:28 naddy
Exp $ */
+/* $OpenBSD: parse.y,v 1.3
3 2024/08/21 09:20:36 florian
Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
@@
-223,7
+223,7
@@
varset : STRING '=' string {
;
conf_main : ROUTERID STRING {
- if (!inet_
aton(
$2, &conf->rtr_id)) {
+ if (!inet_
pton(AF_INET,
$2, &conf->rtr_id)) {
yyerror("error parsing router-id");
free($2);
YYERROR;