diff options
author | Linus Nordberg <linus@nordu.net> | 2011-09-27 19:48:52 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2011-09-27 19:48:52 +0200 |
commit | f2d92c0dc60d1fbca3ad1822053ae2d30a88e8d7 (patch) | |
tree | dd89e17fa4b5eae53656564b650f63c8652ac795 /fticks.c | |
parent | bde15e660005e50ff77c5832c9993275ac1d96c0 (diff) |
Handle configuration with F-Ticks enabled but w/o FTicksMac.
Diffstat (limited to 'fticks.c')
-rw-r--r-- | fticks.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |