aboutsummaryrefslogtreecommitdiffstats
path: root/src/scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scan.c')
-rw-r--r--src/scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scan.c b/src/scan.c
index b287f4f..79d380f 100644
--- a/src/scan.c
+++ b/src/scan.c
@@ -217,7 +217,7 @@ scan_init(void)
opm_config(scs->scanner, OPM_CONFIG_SCAN_PORT, &sc->target_port);
opm_config(scs->scanner, OPM_CONFIG_TIMEOUT, &sc->timeout);
opm_config(scs->scanner, OPM_CONFIG_MAX_READ, &sc->max_read);
- opm_config(scs->scanner, OPM_CONFIG_BIND_IP, sc->vhost);
+ opm_config(scs->scanner, OPM_CONFIG_BIND_IP, sc->bind);
/* add target strings */
LIST_FOREACH(p2, sc->target_string.head)