Download raw body.
ldpd: get rid of inet_aton
OK?
diff --git parse.y parse.y
index 91606fb6c10..e3c15d41508 100644
--- parse.y
+++ parse.y
@@ -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;
--
In my defence, I have been left unsupervised.
ldpd: get rid of inet_aton