OpengateM Source Repository
修订版 | 13371e8780c49aaf5edebf393ab533fb5d0b2684 (tree) |
---|---|
时间 | 2016-10-22 13:54:33 |
作者 | watanaby <watanaby@user...> |
Commiter | watanaby |
fixed error at ndp request
@@ -275,10 +275,23 @@ OpengateM History</H3> | ||
275 | 275 | </DT><DD> |
276 | 276 | Modified code to prevent inflation of Databases (drop table macippair/sessionmd:MySQL, delete old records of macmodify:MySQL and macinfo:SQLite3). |
277 | 277 | </DD> |
278 | - <DT>Ver.1.1.1 at 2016.6.25 | |
278 | + <DT>Ver.1.1.1 at 2016.6.24 | |
279 | 279 | </DT><DD> |
280 | 280 | Restored table sessionmd in management db (It holds the log expired after 1 month. Log-saving can be disabled in opengatemd.conf). |
281 | 281 | </DD> |
282 | + <DT>Ver.1.1.2 at 2016.6.25 | |
283 | + </DT><DD> | |
284 | + 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). | |
285 | + </DD> | |
286 | + <DT>Ver.1.1.3 at 2016.7.15 | |
287 | + </DT><DD> | |
288 | + Added a null pointer check in alarm control (opengatemmng). | |
289 | + </DD> | |
290 | + <DT>Ver.1.1.4 at 2016.10.22 | |
291 | + </DT><DD> | |
292 | + Fixed error at ndp request (opengatemmng). | |
293 | + </DD> | |
294 | + | |
282 | 295 | </DL> |
283 | 296 | <P> |
284 | 297 | <B>Please see GIT on osdn.jp to check the differences between versions.</B> |
@@ -64,7 +64,7 @@ int getMacAddrListFromNdp(char* interface){ | ||
64 | 64 | err_msg("ERR at %s#%d:ndp path is not set in conf",__FILE__,__LINE__); |
65 | 65 | return -1; |
66 | 66 | } |
67 | - if((fpipe=Popenl(1, "r", ndpPath,"-a",(char *)0)) == NULL){ | |
67 | + if((fpipe=Popenl(1, "r", ndpPath,"-na",(char *)0)) == NULL){ | |
68 | 68 | err_msg("ERR at %s#%d: exec ndp -na error",__FILE__,__LINE__); |
69 | 69 | return -1; |
70 | 70 | } |