summaryrefslogtreecommitdiffstats
path: root/src/peer.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-12-13 17:51:00 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-12-13 17:51:00 +0100
commit505eb464948d32f9ae5d7f8d48d89dde98972930 (patch)
treea3fb0226c8f00d7927227ea46d910a4c28f2647d /src/peer.h
parentda4d1d1586f36f1a4b69e19d39638676da3315d2 (diff)
downloadfastd-505eb464948d32f9ae5d7f8d48d89dde98972930.tar
fastd-505eb464948d32f9ae5d7f8d48d89dde98972930.zip
Add helper function to simplify v4-mapped addresses
Diffstat (limited to 'src/peer.h')
-rw-r--r--src/peer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/peer.h b/src/peer.h
index 62ca31d..40ff323 100644
--- a/src/peer.h
+++ b/src/peer.h
@@ -79,6 +79,7 @@ struct _fastd_peer_eth_addr {
bool fastd_peer_address_equal(const fastd_peer_address *addr1, const fastd_peer_address *addr2);
+void fastd_peer_address_simplify(fastd_peer_address *addr);
fastd_peer_config* fastd_peer_config_new(fastd_context *ctx, fastd_config *conf);
void fastd_peer_config_free(fastd_peer_config *peer);