diff -Nru klibc-2.0.3/debian/changelog klibc-2.0.3/debian/changelog --- klibc-2.0.3/debian/changelog 2016-04-26 13:15:50.000000000 -0400 +++ klibc-2.0.3/debian/changelog 2016-09-15 11:49:20.000000000 -0400 @@ -1,3 +1,11 @@ +klibc (2.0.3-0ubuntu1.14.04.2) trusty; urgency=medium + + * debian/patches/fix_broadcast_flag-bit.patch: the previous patch set the + wrong bit in the bootp flags field, instead of 0x800 it must be 0x8000. + (LP: #1624014) + + -- Dan Streetman Thu, 15 Sep 2016 11:42:54 -0400 + klibc (2.0.3-0ubuntu1.14.04.1) trusty; urgency=medium * debian/patches/broadcast_dhcp_send.patch: set the broadcast bit and yiaddr diff -Nru klibc-2.0.3/debian/patches/fix_broadcast_flag_bit.patch klibc-2.0.3/debian/patches/fix_broadcast_flag_bit.patch --- klibc-2.0.3/debian/patches/fix_broadcast_flag_bit.patch 1969-12-31 19:00:00.000000000 -0500 +++ klibc-2.0.3/debian/patches/fix_broadcast_flag_bit.patch 2016-09-15 11:41:50.000000000 -0400 @@ -0,0 +1,20 @@ +From: Dan Streetman +Subject: Fix PXE dhcp/bootp broadcast flag bit position +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733988 +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/klibc/+bug/1327412 + +This corrects the previous patch for the problem, as it set the wrong +bit. The correct flags value is 0x8000, not 0x800. + +diff -rupN a/usr/kinit/ipconfig/dhcp_proto.c klibc-2.0.3/usr/kinit/ipconfig/dhcp_proto.c +--- a/usr/kinit/ipconfig/dhcp_proto.c 2016-09-15 11:25:53.000000000 -0400 ++++ klibc-2.0.3/usr/kinit/ipconfig/dhcp_proto.c 2016-09-15 11:28:50.919549775 -0400 +@@ -208,7 +208,7 @@ static int dhcp_send(struct netdev *dev, + */ + bootp.yiaddr = INADDR_ANY; + bootp.giaddr = INADDR_ANY; +- bootp.flags = htons(0x800); ++ bootp.flags = htons(0x8000); + bootp.secs = htons(time(NULL) - dev->open_time); + memcpy(bootp.chaddr, dev->hwaddr, 16); + diff -Nru klibc-2.0.3/debian/patches/series klibc-2.0.3/debian/patches/series --- klibc-2.0.3/debian/patches/series 2016-04-26 13:13:16.000000000 -0400 +++ klibc-2.0.3/debian/patches/series 2016-09-15 11:41:50.000000000 -0400 @@ -5,3 +5,4 @@ multiarch-include-path Fix-minimal-mv-to-work-across-fs broadcast_dhcp_send.patch +fix_broadcast_flag_bit.patch