summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2019-05-03 21:54:48 +0000
committerMikael Magnusson <mikma@users.sourceforge.net>2019-05-04 20:28:28 +0000
commit2a146307bc5d5d4703893edcbbf1e2006ad84bb0 (patch)
treeab931d8cd92a61e3eae6d7d80e38bc2346e95ed5 /build.sh
parent3f997d12e574de2668ded4fa7e95cee9132ac50f (diff)
Fill DHCP checksums
Try to work-around broken DHCP clients (such as FreeBSD), with an iptables rule added to the default /etc/firewall.user. And install the required iptables-mod-checksum package by default.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 1ac2143..50ac784 100755
--- a/build.sh
+++ b/build.sh
@@ -7,6 +7,8 @@ ver=18.06.2
dist=openwrt
type=lxd
super=fakeroot
+# iptables-mod-checksum is required by the work-around inserted by files/etc/uci-defaults/70_fill-dhcp-checksum.
+packages=iptables-mod-checksum
# Workaround for Debian/Ubuntu systems which use C.UTF-8 which is unsupported by OpenWrt
export LC_ALL=C