summaryrefslogtreecommitdiffstats
path: root/src/peer.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-08-18 21:33:06 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-08-18 21:33:06 +0200
commitc251df4a17e45460fa20822df596e507ef1b1629 (patch)
treeb4c17a93f247feb3a9f435522783ea944a84a636 /src/peer.h
parent02c72f46bd3990a9835eb82c72da5fed37107470 (diff)
downloadfastd-c251df4a17e45460fa20822df596e507ef1b1629.tar
fastd-c251df4a17e45460fa20822df596e507ef1b1629.zip
peer: remove fastd_remote_is_dynamic()
Diffstat (limited to 'src/peer.h')
-rw-r--r--src/peer.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/peer.h b/src/peer.h
index 1819f3c..c1f5be1 100644
--- a/src/peer.h
+++ b/src/peer.h
@@ -259,11 +259,6 @@ static inline const fastd_peer_group_t * fastd_peer_get_group(const fastd_peer_t
return conf.peer_group;
}
-/** Checks if a remote is dynamic (is contains a hostname instead of a static IP address) */
-static inline bool fastd_remote_is_dynamic(const fastd_remote_t *remote) {
- return remote->config->hostname;
-}
-
/** Signals that a valid packet was received from the peer */
static inline void fastd_peer_seen(fastd_peer_t *peer) {
peer->timeout = fastd_in_seconds(PEER_STALE_TIME);