summaryrefslogtreecommitdiff
path: root/relay/tests/relay_unittests.c
diff options
context:
space:
mode:
Diffstat (limited to 'relay/tests/relay_unittests.c')
-rw-r--r--relay/tests/relay_unittests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/relay/tests/relay_unittests.c b/relay/tests/relay_unittests.c
index 90bf6c48..191d354a 100644
--- a/relay/tests/relay_unittests.c
+++ b/relay/tests/relay_unittests.c
@@ -406,13 +406,13 @@ ATF_TC_HEAD(gwaddr_override_test, tc) {
atf_tc_set_md_var(tc, "descr", "tests that gateway addr (giaddr) field can be overridden");
}
-extern isc_boolean_t fake_gw;
+extern isc_boolean_t use_fake_gw;
extern struct in_addr gw;
/* This basic test checks if the new gwaddr override (-g) option is disabled by default */
ATF_TC_BODY(gwaddr_override_test, tc) {
- if (fake_gw == ISC_TRUE) {
+ if (use_fake_gw == ISC_TRUE) {
atf_tc_fail("the gwaddr override should be disabled by default");
}
char txt[48] = {0};