From 6bd518935f6dfc158f29a6364076bd87e3f8f042 Mon Sep 17 00:00:00 2001 From: thorkill Date: Thu, 26 May 2016 16:12:03 +0200 Subject: [PATCH] Moved SLPD related #define to slpd.h --- src/conf.h | 4 ---- src/slpd.h | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/conf.h b/src/conf.h index d775a567..1dae5fd3 100644 --- a/src/conf.h +++ b/src/conf.h @@ -25,10 +25,6 @@ #include "splay_tree.h" #include "subnet.h" -#define DEFAULT_SLPD_GROUP "ff02::42:1" -#define DEFAULT_SLPD_PORT "1655" -#define DEFAULT_SLPD_EXPIRE 300 - typedef struct config_t { char *variable; char *value; diff --git a/src/slpd.h b/src/slpd.h index f3882ece..6b71a8de 100644 --- a/src/slpd.h +++ b/src/slpd.h @@ -24,6 +24,10 @@ #include "utils.h" #include "xalloc.h" +#define DEFAULT_SLPD_GROUP "ff02::42:1" +#define DEFAULT_SLPD_PORT "1655" +#define DEFAULT_SLPD_EXPIRE 300 + extern int slpdinterval; extern timeout_t slpdupdate_timeout;