|
|
@ -287,9 +287,13 @@ static void *ParseAFPConfig(const char *iface)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (ConfGetChildValueWithDefault(if_root, if_default, "copy-iface", &out_iface) == 1) {
|
|
|
|
if (ConfGetChildValueWithDefault(if_root, if_default, "copy-iface", &out_iface) == 1) {
|
|
|
|
|
|
|
|
if (out_iface != NULL) {
|
|
|
|
if (strlen(out_iface) > 0) {
|
|
|
|
if (strlen(out_iface) > 0) {
|
|
|
|
aconf->out_iface = out_iface;
|
|
|
|
aconf->out_iface = out_iface;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
SCLogWarning("copy-iface corresponding to %s interface cannot be NULL", iface);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (ConfGetChildValueBoolWithDefault(if_root, if_default, "use-mmap", (int *)&boolval) == 1) {
|
|
|
|
if (ConfGetChildValueBoolWithDefault(if_root, if_default, "use-mmap", (int *)&boolval) == 1) {
|
|
|
|