Deleted Added
full compact
0a1,2
> /* $KAME$ */
>
29c31
< * $FreeBSD: head/usr.sbin/rrenumd/lexer.l 55505 2000-01-06 12:40:54Z shin $
---
> * $FreeBSD: head/usr.sbin/rrenumd/lexer.l 62638 2000-07-05 11:12:53Z kris $
39a42
> #if defined(__FreeBSD__) && __FreeBSD__ >= 3
40a44
> #endif /* __FreeBSD__ >= 3 */
44a49,51
>
> #include <arpa/inet.h>
>
49c56
< #define LINEBUF_SIZE 1000
---
> #define LINEBUF_SIZE 1000
211a219,227
> {ipv4addr} {
> memset(&yylval.addr4, 0, sizeof(struct in_addr));
> if (inet_pton(AF_INET, yytext,
> &yylval.addr4) == 1) {
> return IPV4ADDR;
> } else {
> return ERROR;
> }
> }