projects
/
libradsec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bde15e6
)
Handle configuration with F-Ticks enabled but w/o FTicksMac.
author
Linus Nordberg
<linus@nordu.net>
Tue, 27 Sep 2011 17:48:52 +0000
(19:48 +0200)
committer
Linus Nordberg
<linus@nordu.net>
Tue, 27 Sep 2011 17:48:52 +0000
(19:48 +0200)
fticks.c
patch
|
blob
|
history
diff --git
a/fticks.c
b/fticks.c
index
ee83b91
..
c4acac2
100644
(file)
--- a/
fticks.c
+++ b/
fticks.c
@@
-64,7
+64,6
@@
fticks_configure(struct options *options,
if (reporting == NULL)
goto out;
-
if (strcasecmp(reporting, "None") == 0)
options->fticks_reporting = RSP_FTICKS_REPORTING_NONE;
else if (strcasecmp(reporting, "Basic") == 0)
@@
-78,6
+77,8
@@
fticks_configure(struct options *options,
goto out;
}
+ if (mac == NULL)
+ goto out;
if (strcasecmp(mac, "Static") == 0)
options->fticks_mac = RSP_FTICKS_MAC_STATIC;
else if (strcasecmp(mac, "Original") == 0)