diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-02-21 14:11:34 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-02-21 20:40:58 +0100 |
commit | b553a6b13c68cb72addde48281abe3f3b46e16a4 (patch) | |
tree | d8f8548603e1bd3a2812257eae233fba546e2e24 /src/systemd | |
parent | 33859a6bf5fd2b62a562a751a509708617e19776 (diff) | |
download | systemd-b553a6b13c68cb72addde48281abe3f3b46e16a4.tar.gz |
sd-lldp: filter out LLDP messages coming from our own MAC address
Let's not get confused should we be connected to some bridge that mirrors back
our packets.
Diffstat (limited to 'src/systemd')
-rw-r--r-- | src/systemd/sd-lldp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemd/sd-lldp.h b/src/systemd/sd-lldp.h index 11b89258ed..2ee32a534c 100644 --- a/src/systemd/sd-lldp.h +++ b/src/systemd/sd-lldp.h @@ -49,6 +49,7 @@ int sd_lldp_set_callback(sd_lldp *lldp, sd_lldp_callback_t cb, void *userdata); /* Controls how much and what to store in the neighbors database */ int sd_lldp_set_neighbors_max(sd_lldp *lldp, uint64_t n); int sd_lldp_match_capabilities(sd_lldp *lldp, uint16_t mask); +int sd_lldp_set_filter_address(sd_lldp *lldp, const struct ether_addr *address); int sd_lldp_get_neighbors(sd_lldp *lldp, sd_lldp_neighbor ***neighbors); |