[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Better handling of netif init failures ?
From: |
Jani Monoses |
Subject: |
Re: [lwip-users] Better handling of netif init failures ? |
Date: |
Mon, 20 Jan 2003 15:37:48 +0200 |
Return codes and error handling in general are pretty inconsistent
in lwIP so improvements are welcome.
> Hi,
>
> I was wondering why the netif init callback, called by netif_add,
> is returning void. It prevents some friendlier handling than
> (e.g.) perror/exit in the init function. Is it planned that, someday,
> init could return an error code, and netif_add could then return NULL ?
> What would be the odds of a patch for this to be accepted ?
>
> --
> David
>
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/lwip-users