summaryrefslogtreecommitdiffstats
path: root/src/peer.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-09-26 15:45:22 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-09-26 15:45:22 +0200
commitb63d267e79a54b1c1f0c3e987a28535055d5f574 (patch)
tree6301befdbbf64762983cf70cfa7f6e2532c5fba1 /src/peer.h
parentd90524202c9484f2851dbe192847f71dadc22ce5 (diff)
downloadfastd-b63d267e79a54b1c1f0c3e987a28535055d5f574.tar
fastd-b63d267e79a54b1c1f0c3e987a28535055d5f574.zip
Don't forward frames with local destination MAC address
Diffstat (limited to 'src/peer.h')
-rw-r--r--src/peer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peer.h b/src/peer.h
index 30c9156..ca03e2f 100644
--- a/src/peer.h
+++ b/src/peer.h
@@ -271,7 +271,7 @@ static inline bool fastd_eth_addr_is_unicast(fastd_eth_addr_t addr) {
}
void fastd_peer_eth_addr_add(fastd_peer_t *peer, fastd_eth_addr_t addr);
-fastd_peer_t * fastd_peer_find_by_eth_addr(fastd_eth_addr_t addr);
+bool fastd_peer_find_by_eth_addr(const fastd_eth_addr_t addr, fastd_peer_t **peer);
void fastd_peer_handle_handshake_queue(void);
void fastd_peer_maintenance(void);