summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-05-25 23:10:26 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-05-25 23:10:26 +0200
commit6a249659bf167aa8e7f72917e9c9f23ba9477e1c (patch)
treea75f565a96a05bdee12ade33fbd25146597b7b1a /src/fastd.h
parentc9da7ad1de089f109a3798ff19bede86348150aa (diff)
downloadfastd-6a249659bf167aa8e7f72917e9c9f23ba9477e1c.tar
fastd-6a249659bf167aa8e7f72917e9c9f23ba9477e1c.zip
Unify fastd_peer_group_t and fastd_peer_group_config_t into a single structure
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fastd.h b/src/fastd.h
index f9e8c5a..6fe0422 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -207,7 +207,7 @@ struct fastd_config {
const fastd_cipher_t **ciphers; /**< All supported ciphers */
const fastd_mac_t **macs; /**< All supported message authentication codes */
- fastd_peer_group_config_t *peer_group; /**< The root peer group configuration */
+ fastd_peer_group_t *peer_group; /**< The root peer group configuration */
fastd_peer_config_t *peers; /**< The configured peers */
bool has_floating; /**< Specifies if any of the configured peers have floating remotes */
@@ -245,8 +245,6 @@ struct fastd_context {
struct timespec now; /**< The current monotonous timestamp */
- fastd_peer_group_t *peer_group; /**< The root peer group */
-
uint64_t next_peer_id; /**< An monotonously increasing ID peers are identified with in some components */
VECTOR(fastd_peer_t*) peers; /**< The currectly active peers */