From 99db3bd6ff4b7be26c76d43044b37a0b249d5dae Mon Sep 17 00:00:00 2001 From: watanaby <> Date: Thu, 15 Dec 2005 05:29:22 +0000 Subject: [PATCH] V1.2.1: Change NDP command option to be recognized by new NDP. --- opengate/opengatesrv/comm-ndp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opengate/opengatesrv/comm-ndp.c b/opengate/opengatesrv/comm-ndp.c index 3d1395e..7eb613c 100644 --- a/opengate/opengatesrv/comm-ndp.c +++ b/opengate/opengatesrv/comm-ndp.c @@ -64,7 +64,7 @@ void scanNdpEntry(struct clientAddr *pClientAddr, char *userid, char *macAddr6, Close(pipewrite_fd); /* exec proc */ - if(execl(NDPPATH,"ndp","-an",(char *)0) == -1){ + if(execl(NDPPATH,"ndp","-na",(char *)0) == -1){ err_quit("ERR in comm-ndp: execlp error no= %d", errno); } exit(1); @@ -190,7 +190,7 @@ int getMacAddrFromNdp(char *clientAddr6, char* macAddr6) Close(pipewrite_fd); /* exec proc */ - if(execl(NDPPATH,"ndp","-an",(char *)0) == -1){ + if(execl(NDPPATH,"ndp","-na",(char *)0) == -1){ err_quit("ERR in comm-ndp: execlp error no= %d", errno); } exit(1); -- 2.11.0