Skip to content

Commit

Permalink
osp: Fix module compilation
Browse files Browse the repository at this point in the history
- missing header (route_struct.h)
- typo in array definition cmds[]

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
(cherry picked from commit 30f5741)
  • Loading branch information
rzerres authored and razvancrainea committed May 28, 2019
1 parent daf5978 commit 4b2a87e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions mod_fix.h
Expand Up @@ -25,6 +25,7 @@
#include <regex.h>
#include "mem/mem.h"
#include "pvar.h"
#include "route_struct.h"

#define GPARAM_TYPE_VAL 0
#define GPARAM_TYPE_PVS 1
Expand Down
2 changes: 1 addition & 1 deletion modules/osp/osp_mod.c
Expand Up @@ -176,7 +176,7 @@ static cmd_export_t cmds[]={
{CMD_PARAM_STR,0,0}, {0,0,0}},
REQUEST_ROUTE},
{0,0,{{0,0,0}},0}
}
};

static param_export_t params[]={
{ "enable_crypto_hardware_support", INT_PARAM, &_osp_crypto_hw },
Expand Down

0 comments on commit 4b2a87e

Please sign in to comment.