From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp3-g21.free.fr ([212.27.42.3]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YGcBN-0005xI-HU for barebox@lists.infradead.org; Wed, 28 Jan 2015 23:38:02 +0000 From: =?UTF-8?q?Eric=20B=C3=A9nard?= Date: Thu, 29 Jan 2015 00:37:32 +0100 Message-Id: <1422488254-18414-1-git-send-email-eric@eukrea.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 1/3] dhcp: fix request packet's requested IP option To: s.hauer@pengutronix.de Cc: barebox@lists.infradead.org SW4gdGhlIHJlcXVlc3QgcGFja2V0LCB3ZSBhcmUgc3VwcG9zZWQgdG8gY29weSB0aGUgSVAgdGhh dCB0aGUgREhDUCBzZXJ2ZXIKcHJvdmlkZWQgaW4gdGhlIG9mZmVyIHBhY2tldCBzbyB0aGF0IGRo Y3BfZXh0ZW5kZWQgY2FuIGZpbGwgdGhlIG9wdGlvbiA1MC4KVGhlcmUgaXMgYWN0dWFsbHkgYW4g ZXJyb3IgaW4gYmFyZWJveCBhcyB0aGUgcG9pbnRlciB0byB0aGUgcGFja2V0IGN1cnJlbnRseQpi dWlsdCBpcyB1c2VkIGFzIHRoZSBzb3VyY2UgaW5zdGVhZCBvZiB0aGUgcG9pbnRlciB0byB0aGUg b2ZmZXIgcGFja2V0LgpXaXRoIHRoaXMgcGF0Y2gsIGJhcmVib3ggbm93IHNlbmRzIGEgcmVxdWVz dCBwYWNrZXQgd2hpY2ggaW5jbHVkZXMgdGhlIHJpZ2h0CnJlcXVlc3RlZCBJUCBpbiBvcHRpb24g NTAuCgpTaWduZWQtb2ZmLWJ5OiBFcmljIELDqW5hcmQgPGVyaWNAZXVrcmVhL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