diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-11-06 17:12:51 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-11-19 07:47:19 -0500 |
| commit | f573ec607ce0ebcab1282edd4e35756f6d6e6de7 (patch) | |
| tree | c77ef5ff9c33483b303c53b4b0333aee4cbc9154 /ospfd/ospf_packet.c | |
| parent | 47774e275799ce2baf814c5ae00f1bfa001b5d4b (diff) | |
ospfd: Remove ORIGINAL_CODING check
We have a bunch of places that look for ORIGINAL_CODING. There is
nothing in our configure system to define this value and a quick
git blame shows this code as being original to the import a very
very long time ago. This is dead code, removing.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_packet.c')
| -rw-r--r-- | ospfd/ospf_packet.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c index 453135cb4d..6c7531a362 100644 --- a/ospfd/ospf_packet.c +++ b/ospfd/ospf_packet.c @@ -1505,10 +1505,6 @@ static void ospf_db_desc(struct ip *iph, struct ospf_header *ospfh, /* Check DD Options. */ if (dd->options != nbr->options) { -#ifdef ORIGINAL_CODING - /* Save the new options for debugging */ - nbr->options = dd->options; -#endif /* ORIGINAL_CODING */ flog_warn(EC_OSPF_PACKET, "Packet[DD]: Neighbor %s options mismatch.", inet_ntoa(nbr->router_id)); |
