• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

OpengateM Source Repository


Commit MetaInfo

Revisão13371e8780c49aaf5edebf393ab533fb5d0b2684 (tree)
Hora2016-10-22 13:54:33
Autorwatanaby <watanaby@user...>
Commiterwatanaby

Mensagem de Log

fixed error at ndp request

Mudança Sumário

Diff

--- a/doc/Changes.html
+++ b/doc/Changes.html
@@ -275,10 +275,23 @@ OpengateM History</H3>
275275 </DT><DD>
276276 Modified code to prevent inflation of Databases (drop table macippair/sessionmd:MySQL, delete old records of macmodify:MySQL and macinfo:SQLite3).
277277 </DD>
278- <DT>Ver.1.1.1 at 2016.6.25
278+ <DT>Ver.1.1.1 at 2016.6.24
279279 </DT><DD>
280280 Restored table sessionmd in management db (It holds the log expired after 1 month. Log-saving can be disabled in opengatemd.conf).
281281 </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+
282295 </DL>
283296 <P>
284297 <B>Please see GIT on osdn.jp to check the differences between versions.</B>
--- a/mngsrc/getmac.c
+++ b/mngsrc/getmac.c
@@ -64,7 +64,7 @@ int getMacAddrListFromNdp(char* interface){
6464 err_msg("ERR at %s#%d:ndp path is not set in conf",__FILE__,__LINE__);
6565 return -1;
6666 }
67- if((fpipe=Popenl(1, "r", ndpPath,"-a",(char *)0)) == NULL){
67+ if((fpipe=Popenl(1, "r", ndpPath,"-na",(char *)0)) == NULL){
6868 err_msg("ERR at %s#%d: exec ndp -na error",__FILE__,__LINE__);
6969 return -1;
7070 }