+/* SPDX-License-Identifier: GPL-2.0 */
#include <errno.h>
#include <sys/types.h>
+#include <sys/socket.h>
#include <netinet/in.h>
#include "utils.h"
*(str + pos) = '.';
pos++;
-
+
for(i = 0; i < 6; i++) {
if (do_digit(str + pos, addr->ipx_node[i], 1, &pos, len))
return str;
return NULL;
}
-
-