svn commit: r256659 - head/sbin/iscontrol

Kevin Lo kevlo at FreeBSD.org
Thu Oct 17 01:59:09 UTC 2013


Author: kevlo
Date: Thu Oct 17 01:59:08 2013
New Revision: 256659
URL: http://svnweb.freebsd.org/changeset/base/256659

Log:
  Check for EHOSTUNREACH when establishing a connection.
  
  Reviewed by:	trasz

Modified:
  head/sbin/iscontrol/fsm.c

Modified: head/sbin/iscontrol/fsm.c
==============================================================================
--- head/sbin/iscontrol/fsm.c	Thu Oct 17 01:53:07 2013	(r256658)
+++ head/sbin/iscontrol/fsm.c	Thu Oct 17 01:59:08 2013	(r256659)
@@ -199,6 +199,7 @@ tcpConnect(isess_t *sess)
      perror("connect");
      switch(sv_errno) {
      case ECONNREFUSED:
+     case EHOSTUNREACH:
      case ENETUNREACH:
      case ETIMEDOUT:
 	  if((sess->flags & SESS_REDIRECT) == 0) {


More information about the svn-src-head mailing list