- clarify an err msg
This commit is contained in:
parent
8b8f5fe3bd
commit
fe239c3fd4
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: eth_tap.cc,v 1.4 2002-03-09 01:33:46 bdenney Exp $
|
||||
// $Id: eth_tap.cc,v 1.5 2002-03-11 13:59:38 bdenney Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||
@ -164,7 +164,7 @@ bx_tap_pktmover_c::bx_tap_pktmover_c(const char *netif,
|
||||
memset( &ifr, 0, sizeof(ifr) );
|
||||
strncpy( ifr.ifr_name, netif, sizeof(ifr.ifr_name) );
|
||||
if( ioctl( sock, SIOCGIFFLAGS, &ifr ) < 0 ){
|
||||
BX_PANIC (("SIOCGIFFLAGS: %s", strerror (errno)));
|
||||
BX_PANIC (("SIOCGIFFLAGS on %s: %s", netif, strerror (errno)));
|
||||
close(sock);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user