Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

client6_mainloop(): made sure to continue the loop when select(2) failed

(likely due to a signal).  Otherwise, the process would misunderstand that
it received a packet and would block in client6_recv().
  • Loading branch information...
commit 4c8ff8d7290a2ab5b420dcfac85c16bba97b8062 1 parent bc1679c
jinmei authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 kame/kame/dhcp6/dhcp6c.c
View
4 kame/kame/dhcp6/dhcp6c.c
@@ -1,4 +1,4 @@
-/* $KAME: dhcp6c.c,v 1.160 2005/04/14 06:22:32 suz Exp $ */
+/* $KAME: dhcp6c.c,v 1.161 2005/04/28 15:05:52 jinmei Exp $ */
/*
* Copyright (C) 1998 and 1999 WIDE Project.
* All rights reserved.
@@ -588,7 +588,7 @@ client6_mainloop()
strerror(errno));
exit(1);
}
- break;
+ continue;
case 0: /* timeout */
break; /* dhcp6_check_timer() will treat the case */
default:
Please sign in to comment.
Something went wrong with that request. Please try again.