summaryrefslogtreecommitdiffstats
path: root/ctrl
diff options
context:
space:
mode:
authorJordan Augé <jordan.auge+fdio@cisco.com>2019-10-09 10:31:52 +0200
committerJordan Augé <jordan.auge+fdio@cisco.com>2019-10-09 10:31:52 +0200
commit359a384cde480a0206d1ae45709ad1c1e7141477 (patch)
treeebd33b27eae2b078a618291ec6bafad1cf4ebb8e /ctrl
parent4802315ae6800dd9c433296f9012373244df19e5 (diff)
[HICN-309] [network_framework] rules are now implemented by the core
Change-Id: I76c6d0f6b6989e00c5a7653e0b476808b61d8e76 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Diffstat (limited to 'ctrl')
-rw-r--r--ctrl/facemgr/src/api.c1
-rw-r--r--ctrl/facemgr/src/interfaces/network_framework/network_framework.c5
2 files changed, 0 insertions, 6 deletions
diff --git a/ctrl/facemgr/src/api.c b/ctrl/facemgr/src/api.c
index f630792c4..88595a9bc 100644
--- a/ctrl/facemgr/src/api.c
+++ b/ctrl/facemgr/src/api.c
@@ -1279,7 +1279,6 @@ facemgr_bootstrap(facemgr_t * facemgr)
#ifdef __APPLE__
network_framework_cfg_t nf_cfg = {
- .rules = &facemgr->rules,
};
rc = facemgr_create_interface(facemgr, "nf", "network_framework", &nf_cfg, &facemgr->nf);
if (rc < 0) {
diff --git a/ctrl/facemgr/src/interfaces/network_framework/network_framework.c b/ctrl/facemgr/src/interfaces/network_framework/network_framework.c
index 4a9d24f61..ed2f88e9e 100644
--- a/ctrl/facemgr/src/interfaces/network_framework/network_framework.c
+++ b/ctrl/facemgr/src/interfaces/network_framework/network_framework.c
@@ -529,11 +529,6 @@ int nf_initialize(interface_t * interface, void * cfg)
if (!data)
goto ERR_MALLOC;
- if (cfg)
- data->cfg = * (network_framework_cfg_t *)cfg;
- else
- data->cfg.rules = NULL;
-
data->pm = nw_path_monitor_create();
if (!data->pm)
goto ERR_PM;