]> git.puffer.fish Git - mirror/frr.git/commit
ospfd: fix packet reception for FreeBSD 10.
authorDmitrij Tejblum <tejblum@yandex-team.ru>
Mon, 12 Dec 2011 16:30:10 +0000 (20:30 +0400)
committerDenis Ovsienko <infrastation@yandex.ru>
Mon, 2 Jan 2012 13:27:26 +0000 (17:27 +0400)
commitb31d8fc3016615571f79161b8405aa4033cdfb8d
treef17abe1585b337f1751c496e9ac99714bebcb79b
parent89e9f82e0b717c0e39bbffa104f9d9f817c19b46
ospfd: fix packet reception for FreeBSD 10.

* ospf_packet.c (ospf_recv_packet): FreeBSD, starting from version 10, will not
  subtract the IP header size from ip_len.

This is the patch from FreeBSD's ports/net/quagga/files/patch-ospfd__ospf_packet.c,
by Boris Kovalenko.
ospfd/ospf_packet.c