diff options
author | Lou Berger <lberger@labn.net> | 2017-08-22 15:01:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-22 15:01:20 +0200 |
commit | 3f543889568e7f267f6f6d1e919eeb31a21ee97f (patch) | |
tree | 6f330f0e8034c81ccd0777d232c34262df8b715a /eigrpd/eigrp_packet.c | |
parent | Merge pull request #1012 from donaldsharp/eigrp_send_version (diff) | |
parent | lib: optimize IPV4_ADDR_[SAME|COPY]() (diff) | |
download | frr-3f543889568e7f267f6f6d1e919eeb31a21ee97f.tar.xz frr-3f543889568e7f267f6f6d1e919eeb31a21ee97f.zip |
Merge pull request #939 from jbonor/optimization
Optimization
Diffstat (limited to 'eigrpd/eigrp_packet.c')
-rw-r--r-- | eigrpd/eigrp_packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eigrpd/eigrp_packet.c b/eigrpd/eigrp_packet.c index 3b4a57ed5..72aaef1b3 100644 --- a/eigrpd/eigrp_packet.c +++ b/eigrpd/eigrp_packet.c @@ -527,7 +527,7 @@ int eigrp_read(struct thread *thread) /* Self-originated packet should be discarded silently. */ if (eigrp_if_lookup_by_local_addr(eigrp, NULL, iph->ip_src) - || (IPV4_ADDR_SAME(&iph->ip_src.s_addr, &ei->address->u.prefix4))) { + || (IPV4_ADDR_SAME(&iph->ip_src, &ei->address->u.prefix4))) { if (IS_DEBUG_EIGRP_TRANSMIT(0, RECV)) zlog_debug( "eigrp_read[%s]: Dropping self-originated packet", |