Reads mods from config file

FossilOrigin-Name: 477bd1da9b17e7955dd1f5f345c92bbd2409ccd9857cb9a80efa263ae674cfde
This commit is contained in:
7u83@mail.ru
2018-02-18 20:48:42 +00:00
parent ede2b75f2a
commit 8834220439
2 changed files with 74 additions and 39 deletions

View File

@ -33,7 +33,7 @@
#include "cw/vendors.h"
extern struct mod_ac * conf_mods[10];
extern struct mod_ac ** conf_mods;
#ifndef CONF_DEFAULT_ACNAME
#define CONF_DEFAULT_ACNAME "AC"
@ -139,5 +139,7 @@ extern int conf_capwap_mode;
extern int conf_parse_listen_addr(const char *addr, char *saddr, char *port, int *proto);
#define CFG_ENTRY_MODS "mods"
#endif