summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/bundle.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-12-10 18:36:30 +0000
committerbrian <brian@FreeBSD.org>1998-12-10 18:36:30 +0000
commitba9233fa15b32ca12a7ce20239c3149b7d185bc0 (patch)
tree24a566946a43166b40eb8f90121bc6bc92bde18f /usr.sbin/ppp/bundle.h
parent578a7c33753075a3c31c8ceee8d4af48b7ac0c5e (diff)
downloadFreeBSD-src-ba9233fa15b32ca12a7ce20239c3149b7d185bc0.zip
FreeBSD-src-ba9233fa15b32ca12a7ce20239c3149b7d185bc0.tar.gz
When using ``set device !someprogram'', when ``someprogram''
exits, it causes a select() exception. Handle these select() exceptions on link descriptors in pretty much the same way as loss of carrier rather than dropping out in confusion.
Diffstat (limited to 'usr.sbin/ppp/bundle.h')
-rw-r--r--usr.sbin/ppp/bundle.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/bundle.h b/usr.sbin/ppp/bundle.h
index e3df0b5..0eb20e4 100644
--- a/usr.sbin/ppp/bundle.h
+++ b/usr.sbin/ppp/bundle.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: bundle.h,v 1.18 1998/10/27 22:53:22 brian Exp $
+ * $Id: bundle.h,v 1.19 1998/10/29 02:12:54 brian Exp $
*/
#define PHASE_DEAD 0 /* Link is dead */
@@ -184,3 +184,4 @@ extern int bundle_RenameDatalink(struct bundle *, struct datalink *,
extern void bundle_setsid(struct bundle *, int);
extern void bundle_LockTun(struct bundle *);
extern int bundle_HighestState(struct bundle *);
+extern int bundle_Exception(struct bundle *, int);
OpenPOWER on IntegriCloud