X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FIPStack%2Finterface.c;h=ea4295420f8369650a4c137ed810d62e28359b3c;hb=6a0792d4e8f886c590e008f8c3fea32ed7382410;hp=69d54c3ebadebd1850a6604919477aaf1439fa8c;hpb=50a98c40481c6d1df267f4631228e9a4d107fe74;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/IPStack/interface.c b/KernelLand/Modules/IPStack/interface.c index 69d54c3e..ea429542 100644 --- a/KernelLand/Modules/IPStack/interface.c +++ b/KernelLand/Modules/IPStack/interface.c @@ -279,6 +279,8 @@ tInterface *IPStack_AddInterface(const char *Device, int Type, const char *Name) sprintf(iface->Name, "%i", (int)iface->Node.ImplInt); } + LOG("Creating interface '%s'", iface->Name); + // Append to list SHORTLOCK( &glIP_Interfaces ); if( gIP_Interfaces ) { @@ -339,9 +341,13 @@ tVFS_Node *IPStack_Iface_FindDir(tVFS_Node *Node, const char *Name, Uint Flags) { if( strcmp(file->Name, Name) == 0 ) break; } - if(!file) return NULL; + if(!file) { + LOG("File '%s' unknown", Name); + return NULL; + } // Pass the buck! + LOG("File '%s' calling %p", file->Init); return file->Init(Node->ImplPtr); }