diff options
Diffstat (limited to 'ripngd')
-rw-r--r-- | ripngd/ChangeLog | 5 | ||||
-rw-r--r-- | ripngd/ripngd.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ripngd/ChangeLog b/ripngd/ChangeLog index 7f85cc47..dcd8dedf 100644 --- a/ripngd/ChangeLog +++ b/ripngd/ChangeLog @@ -1,3 +1,8 @@ +2005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu> + + * ripngd.c: (ripng_recv_packet) Use ZCMSG_FIRSTHDR instead of + CMSG_FIRSTHDR. + 2004-12-16 Andrew J. Schorr <ajschorr@alumni.princeton.edu> * ripng_nexthop.c: Replace NEXTHOP_OUT macro with NEXTHOP_OUT_PTR, diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c index 84ed45ee..34282b8e 100644 --- a/ripngd/ripngd.c +++ b/ripngd/ripngd.c @@ -263,7 +263,7 @@ ripng_recv_packet (int sock, u_char *buf, int bufsize, if (ret < 0) return ret; - for (cmsgptr = CMSG_FIRSTHDR(&msg); cmsgptr != NULL; + for (cmsgptr = ZCMSG_FIRSTHDR(&msg); cmsgptr != NULL; cmsgptr = CMSG_NXTHDR(&msg, cmsgptr)) { /* I want interface index which this packet comes from. */ |