OSDN Git Service

fixed error at ndp request
authorwatanaby <watanaby@users.osdn.jp>
Sat, 22 Oct 2016 04:54:33 +0000 (13:54 +0900)
committerwatanaby <watanaby@users.osdn.jp>
Sat, 22 Oct 2016 04:54:33 +0000 (13:54 +0900)
doc/Changes.html
mngsrc/getmac.c

index d5f3d20..c6e1587 100644 (file)
@@ -275,10 +275,23 @@ OpengateM History</H3>
        </DT><DD>
         Modified code to prevent inflation of Databases (drop table macippair/sessionmd:MySQL, delete old records of macmodify:MySQL and macinfo:SQLite3).
        </DD>
-       <DT>Ver.1.1.1 at 2016.6.25
+       <DT>Ver.1.1.1 at 2016.6.24
        </DT><DD>
         Restored table sessionmd in management db (It holds the log expired after 1 month. Log-saving can be disabled in opengatemd.conf).
        </DD>
+       <DT>Ver.1.1.2 at 2016.6.25
+       </DT><DD>
+        Removed the flag to control log option from conf file (If the table 'sessionmd' is removed, the log writing to the table is disabled)(opengatemd).
+       </DD>
+       <DT>Ver.1.1.3 at 2016.7.15
+       </DT><DD>
+        Added a null pointer check in alarm control (opengatemmng). 
+       </DD>
+       <DT>Ver.1.1.4 at 2016.10.22
+       </DT><DD>
+        Fixed error at ndp request (opengatemmng). 
+       </DD>
+       
 </DL>
 <P>
 <B>Please see GIT on osdn.jp to check the differences between versions.</B> 
index 8ae9846..407b2e8 100644 (file)
@@ -64,7 +64,7 @@ int getMacAddrListFromNdp(char* interface){
     err_msg("ERR at %s#%d:ndp path is not set in conf",__FILE__,__LINE__);
     return -1;
   }
-  if((fpipe=Popenl(1, "r", ndpPath,"-a",(char *)0)) == NULL){ 
+  if((fpipe=Popenl(1, "r", ndpPath,"-na",(char *)0)) == NULL){ 
     err_msg("ERR at %s#%d: exec ndp -na error",__FILE__,__LINE__);
     return -1;
   }