summaryrefslogtreecommitdiff
path: root/lib/if.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-08-26 09:25:17 -0400
committerGitHub <noreply@github.com>2019-08-26 09:25:17 -0400
commitdec2a1469f83dca34f7b7a00d696b20afe62105a (patch)
tree5bcda9d9eefba86bfb4a3a0e7ccab37154ac7728 /lib/if.h
parent9c24774d7adbea039b369075225b5c6c957d0d66 (diff)
parentfd267f0808faa24176994ed6d27c095971abdc19 (diff)
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 871e319f29..e3ec278f9f 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. */