diff options
Diffstat (limited to 'tools/dhcp-server-test.c')
-rw-r--r-- | tools/dhcp-server-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dhcp-server-test.c b/tools/dhcp-server-test.c index 4252e628..b7d2e540 100644 --- a/tools/dhcp-server-test.c +++ b/tools/dhcp-server-test.c @@ -89,7 +89,7 @@ int main(int argc, char *argv[]) printf("Create DHCP server for interface %d\n", index); dhcp_server = g_dhcp_server_new(G_DHCP_IPV4, index, &error); - if (dhcp_server == NULL) { + if (!dhcp_server) { handle_error(error); exit(0); } |