[Top] [All Lists]

Can inet_create return -EPROTONOSUPPORT

To: netdev <netdev@xxxxxxxxxxx>
Subject: Can inet_create return -EPROTONOSUPPORT
From: David Dufresne <dufresne@xxxxxxxxxxxxxxx>
Date: Fri, 29 Nov 2002 11:04:41 -0500
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Microsoft-Entourage/

In inet_create, after the lookup for the requested type/protocol pair,
there's a test to see if protocol == 0. Why? Because when protocol == 0,
answer == NULL.

Correct me if I'm wrong, please. ;-)
David Dufresne, Sys. admin. <dufresne@xxxxxxxxxxxxxxx>
Médiafusion Inc. <>
700, rue Wellington Bureau 1200
Montreal (Quebec) H3C 1T4
Tel.(514) 599-5721 Fax.(514) 599-5724

<Prev in Thread] Current Thread [Next in Thread>
  • Can inet_create return -EPROTONOSUPPORT, David Dufresne <=