From 4ccb2c46c51c382f1a1d34f1f6814725c7d972e5 Mon Sep 17 00:00:00 2001 From: paul Date: Fri, 22 Oct 2004 22:52:33 +0000 Subject: - credit rix for fixing openbsd --- lib/ChangeLog | 3 ++- ospfd/ChangeLog | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index d9e81409..ebffacc4 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -5,7 +5,8 @@ (setsockopt_pktinfo) unexported * sockopt.h: Cleanup SOCKOPT_CMSG defines a bit. Add a throwaway define for SOPT_SIZE_CMSG_IFINDEX_IPV4 for systems which have - neither IP_RECVIF nor IP_PKTINFO (eg openbsd). + neither IP_RECVIF nor IP_PKTINFO (eg openbsd), thanks to Rivo + Nurges for highlighting problem and fix. Fix elif that should be an else. * command.h: Cleanup the defines a bit, add helper defines and collapse all defines to use those. Add an attribute field to diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog index 144ef32e..7f00516a 100644 --- a/ospfd/ChangeLog +++ b/ospfd/ChangeLog @@ -3,7 +3,8 @@ * ospf_network.c: (ospf_sock_init) call neutral setsock_ifindex() function. * ospf_packet.c: (ospf_read) manually look up ifindex - if system could not have returned one, eg openbsd. + if system could not have returned one, eg openbsd, thanks to Rivo + Nurges for highlighting problem and fix. Change setsockopt_pktinfo to setsockopt_ifindex. 2004-10-19 Andrew J. Schorr -- cgit v1.2.1