[Ipsec-tools-commits] ipsec-tools/src/racoon grabmyaddr.c,1.11,1.12
Brought to you by:
mit_warlord,
netbsd
From: Aidas K. <mo...@us...> - 2004-04-24 15:30:04
|
Update of /cvsroot/ipsec-tools/ipsec-tools/src/racoon In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23878/src/racoon Modified Files: grabmyaddr.c Log Message: Only trust kernel to send info about interfaces. Index: grabmyaddr.c =================================================================== RCS file: /cvsroot/ipsec-tools/ipsec-tools/src/racoon/grabmyaddr.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- grabmyaddr.c 13 Apr 2004 08:13:17 -0000 1.11 +++ grabmyaddr.c 24 Apr 2004 15:29:55 -0000 1.12 @@ -138,6 +138,9 @@ if (status == 0) return; + if (nladdr.nl_pid) /* Message not from kernel */ + continue; + h = (struct nlmsghdr*)buf; while (NLMSG_OK(h, status)) { if (h->nlmsg_seq != seq) |