Project

General

Profile

Feature #1878 ยป Static.ARP.Entries.patch.txt

See post for instruction - Johnny Good, 09/14/2011 01:51 AM

 
1
--- /etc/inc/interfaces.inc	2011-08-31 12:32:37.000000000 -0700
2
+++ /etc/inc/interfaces.inc.patched	2011-08-31 21:52:13.000000000 -0700
3
@@ -3814,6 +3814,8 @@
4
 		mwexec("/usr/sbin/arp -d -i " . escapeshellarg($ifcfg['if']) . " -a > /dev/null 2>&1 ");
5
 	}
6
 
7
+	exec("/usr/sbin/arp -f /var/etc/Static_ARPs.conf");
8
+
9
 	return 0;
10
 }
11
 
12
--- /var/etc/Static_ARPs.conf	1969-12-31 16:00:00.000000000 -0800
13
+++ /var/etc/Static_ARPs.conf.patched	2011-08-31 20:29:06.000000000 -0700
14
@@ -0,0 +1,3 @@
15
+# 192.168.1.254 as Ethernet Broadcast - Use to Forward WoL Magic Packet as Ethernet Broadcast, etc.
16
+#/usr/sbin/arp -s 192.168.1.254 ff:ff:ff:ff:ff:ff
17
+192.168.1.254 ff:ff:ff:ff:ff:ff
    (1-1/1)