OSDN Git Service
(root)
/
opengate
/
opengate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ver.1.5.33 changed strncpy/cat to strlcpy/cat
[opengate/opengate.git]
/
opengate
/
opengatesrv
/
comm-ndp.c
diff --git
a/opengate/opengatesrv/comm-ndp.c
b/opengate/opengatesrv/comm-ndp.c
index
d9aabc6
..
dd7ba76
100644
(file)
--- a/
opengate/opengatesrv/comm-ndp.c
+++ b/
opengate/opengatesrv/comm-ndp.c
@@
-83,7
+83,7
@@
void scanNdpEntry(struct clientAddr *pClientAddr, char *userid, char *macAddr6,
/* regist it and open firewall for it */
/* cut out ip-ndp */
- str
n
cpy(tmpAddr,buf,ADDRMAXLN);
+ str
l
cpy(tmpAddr,buf,ADDRMAXLN);
/* get first ip-reg in address list */
tmp1 = pClientAddr;