diff --git a/ChangeLog b/ChangeLog index 35308888a..d0578cfdd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-01-06 Yoshinori K. Okuji + + * netboot/misc.c (inet_aton): Don't check if *P is an asterisk, + if I is 3. Reported by Rick (his real name and address are + unknown). + 2002-01-03 Yoshinori K. Okuji Update the netboot stuff to Etherboot-5.0.5. diff --git a/netboot/misc.c b/netboot/misc.c index cb9bbff00..10f189c25 100644 --- a/netboot/misc.c +++ b/netboot/misc.c @@ -221,7 +221,7 @@ inet_aton (char *p, in_addr *addr) if (val < 0 || val > 255) return 0; - if (*p++ != '.') + if (i != 3 && *p++ != '.') return 0; ip = (ip << 8) | val;