ioctl(DIOCNATLOOK) failed: Inappropriate ioctl for device

Nick Mathewson nickm at freehaven.net
Mon Dec 4 05:02:26 UTC 2006


On Sat, Dec 02, 2006 at 05:03:37PM +0100, Fabian Keil wrote:
 [..]
> This would be one way to fix it:
> 
> --- connection_edge.c.orig      Fri Oct 20 21:11:15 2006
> +++ connection_edge.c   Sat Dec  2 16:51:52 2006
> @@ -1309,6 +1309,7 @@
>    }
>  
>    pf_socket = pf;
> +  return pf_socket;
>  }

Thanks, and good catch!  I'm applying your fix now.

(Also, I'd be quite surprised if this compiled without warnings about
a missing return statement.  Tor is supposed to compile without
warnings everywhere, so if you run into warnings, please drop the
developers a line.)


yrs,
-- 
Nick Mathewson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20061204/f99eb0f2/attachment.pgp>


More information about the tor-dev mailing list