summaryrefslogtreecommitdiffstats
path: root/lib/if.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-08-26 15:25:17 +0200
committerGitHub <noreply@github.com>2019-08-26 15:25:17 +0200
commitdec2a1469f83dca34f7b7a00d696b20afe62105a (patch)
tree5bcda9d9eefba86bfb4a3a0e7ccab37154ac7728 /lib/if.h
parentMerge pull request #4795 from opensourcerouting/assorted-fixes (diff)
parentzebra: Correct /32 addr del with broadcast set (diff)
downloadfrr-dec2a1469f83dca34f7b7a00d696b20afe62105a.tar.xz
frr-dec2a1469f83dca34f7b7a00d696b20afe62105a.zip
Merge pull request #4812 from pogojotz/fix-destination-multi-use
zebra: Do not use connection dest for bcast
Diffstat (limited to 'lib/if.h')
-rw-r--r--lib/if.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/if.h b/lib/if.h
index 871e319f2..e3ec278f9 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -383,16 +383,12 @@ struct connected {
/* N.B. the ZEBRA_IFA_PEER flag should be set if and only if
a peer address has been configured. If this flag is set,
the destination field must contain the peer address.
- Otherwise, if this flag is not set, the destination address
- will either contain a broadcast address or be NULL.
*/
/* Address of connected network. */
struct prefix *address;
- /* Peer or Broadcast address, depending on whether ZEBRA_IFA_PEER is
- set.
- Note: destination may be NULL if ZEBRA_IFA_PEER is not set. */
+ /* Peer address, if ZEBRA_IFA_PEER is set, otherwise NULL */
struct prefix *destination;
/* Label for Linux 2.2.X and upper. */