Ryo Iizuka / libMiMic

Dependents:   MbedFileServer_1768MiniDK2 RedWireBridge IssueDebug_gcc MiMicRemoteMCU-for-Mbed ... more

Revision:
21:f2a70f15301f
Parent:
20:3b0b444b4deb
Child:
37:fc4b4fd6a649
diff -r 3b0b444b4deb -r f2a70f15301f core/uip/NyLPC_cUipService.c
--- a/core/uip/NyLPC_cUipService.c	Sun Apr 28 08:54:44 2013 +0000
+++ b/core/uip/NyLPC_cUipService.c	Sun Apr 28 12:23:11 2013 +0000
@@ -241,7 +241,11 @@
     NyLPC_TcUipService_t* inst=&_service_instance;
     return NyLPC_cUipService_isRun()?inst->_ethif->device_name:NULL;
 }
-
+const NyLPC_TcIPv4Config_t* NyLPC_cUipService_refCurrentConfig(void)
+{
+    NyLPC_TcUipService_t* inst=&_service_instance;
+    return inst->_ref_config;
+}
 /**********************************************************************
  *
  * </HWコールバックに関わる宣言>