Moved SLPD related #define to slpd.h

This commit is contained in:
thorkill 2016-05-26 16:12:03 +02:00
parent 04cac1f462
commit 6bd518935f
2 changed files with 4 additions and 4 deletions

View file

@ -25,10 +25,6 @@
#include "splay_tree.h" #include "splay_tree.h"
#include "subnet.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 { typedef struct config_t {
char *variable; char *variable;
char *value; char *value;

View file

@ -24,6 +24,10 @@
#include "utils.h" #include "utils.h"
#include "xalloc.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 int slpdinterval;
extern timeout_t slpdupdate_timeout; extern timeout_t slpdupdate_timeout;