summaryrefslogtreecommitdiff
path: root/ospfd
diff options
context:
space:
mode:
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ChangeLog4
-rw-r--r--ospfd/ospf_packet.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog
index 4bbc2caf..1339ba24 100644
--- a/ospfd/ChangeLog
+++ b/ospfd/ChangeLog
@@ -1,3 +1,7 @@
+2004-08-19 Paul Jakma <paul@dishone.st>
+
+ * ospf_packet.c: update to match sockopt renames.
+
2004-08-04 Paul Jakma <paul@dishone.st>
* ospf_spf.c: (ospf_spf_consider_nexthop) Add comment about issue.
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c
index 8aa63998..ce82ee27 100644
--- a/ospfd/ospf_packet.c
+++ b/ospfd/ospf_packet.c
@@ -1929,7 +1929,7 @@ ospf_recv_packet (int fd, struct interface **ifp)
iov.iov_len = ip_len;
ret = recvmsg (fd, &msgh, 0);
- ifindex = getsockopt_pktinfo_ifindex (AF_INET, &msgh);
+ ifindex = getsockopt_ifindex (AF_INET, &msgh);
*ifp = if_lookup_by_index (ifindex);