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) {
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to