Package: firestarter / 1.0.3-11

02_detect_dhcp3-server_correctly.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
From: Christian Bjälevik <nafallo@ubuntu.com>
Subject: Enable using firestarter with dhcpd

diff -urNad firestarter-1.0.3~/src/dhcp-server.c firestarter-1.0.3/src/dhcp-server.c
--- firestarter-1.0.3~/src/dhcp-server.c	2005-01-29 13:32:07.000000000 +0100
+++ firestarter-1.0.3/src/dhcp-server.c	2007-01-05 15:58:52.055760358 +0100
@@ -100,7 +100,7 @@
 	network = calculate_network (router, subnet_mask);
 	
 	/* Merge the settings with the config file template */
-	dhcp3_in_use = g_file_test ("/etc/dhcp3", G_FILE_TEST_EXISTS);
+	dhcp3_in_use = g_file_test (DHCP3_CONFIG, G_FILE_TEST_EXISTS);
 	debian_in_use = g_file_test ("/etc/debian_version", G_FILE_TEST_EXISTS);
 
 	configuration = g_strconcat (