Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Mar 2017 22:19:09 +0000
From:      "kczekirda (Kamil Czekirda)" <phabric-noreply@FreeBSD.org>
To:        freebsd-net@freebsd.org
Subject:   [Differential] D9847: Try to extract the RFC1048 data from PXE
Message-ID:  <d2c64be203b35e22cdb83b741568ab7c@localhost.localdomain>
In-Reply-To: <differential-rev-PHID-DREV-ml6ban3epmjn5plj7t5q-req@FreeBSD.org>
References:  <differential-rev-PHID-DREV-ml6ban3epmjn5plj7t5q-req@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--b1_d2c64be203b35e22cdb83b741568ab7c
Content-Type: text/plain; charset = "utf-8"
Content-Transfer-Encoding: base64

a2N6ZWtpcmRhIHVwZGF0ZWQgdGhpcyByZXZpc2lvbiB0byBEaWZmIDI1OTE2LgoKQ0hBTkdFUyBT
SU5DRSBMQVNUIFVQREFURQogIGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EOTg0Nz92cz0y
NTkxNSZpZD0yNTkxNgoKUkVWSVNJT04gREVUQUlMCiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qu
b3JnL0Q5ODQ3CgpBRkZFQ1RFRCBGSUxFUwogIC91c3Ivc3JjL2xpYi9saWJzdGFuZC9ib290cC5j
CiAgL3Vzci9zcmMvbGliL2xpYnN0YW5kL2Jvb3RwLmgKICAvdXNyL3NyYy9zeXMvYm9vdC9pMzg2
L2xpYmkzODYvcHhlLmMKCkVNQUlMIFBSRUZFUkVOQ0VTCiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVi
c2Qub3JnL3NldHRpbmdzL3BhbmVsL2VtYWlscHJlZmVyZW5jZXMvCgpUbzoga2N6ZWtpcmRhLCBv
c2hvZ2JvLCBiYXB0LCB0c29vbWUsIGdsZWJpdXMsIGZyZWVic2QtbmV0LWxpc3QsICNuZXR3b3Jr
LCBnbm4sIHNtaApDYzogc21oCg==

--b1_d2c64be203b35e22cdb83b741568ab7c
Content-Type: text/x-patch; charset=utf-8; name="D9847.25916.patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="D9847.25916.patch"

ZGlmZiAtLWdpdCBhLy91c3Ivc3JjL3N5cy9ib290L2kzODYvbGliaTM4Ni9weGUuYy5vbGQgYi8v
dXNyL3NyYy9zeXMvYm9vdC9pMzg2L2xpYmkzODYvcHhlLmMKLS0tIGEvL3Vzci9zcmMvc3lzL2Jv
b3QvaTM4Ni9saWJpMzg2L3B4ZS5jLm9sZAorKysgYi8vdXNyL3NyYy9zeXMvYm9vdC9pMzg2L2xp
YmkzODYvcHhlLmMKQEAgLTEwMSw2ICsxMDEsNyBAQAogZXh0ZXJuIHVfaW50MTZfdAkJX19weGVu
dnNlZzsKIGV4dGVybiB1X2ludDE2X3QJCV9fcHhlbnZvZmY7CiBleHRlcm4gdm9pZAkJCV9fcHhl
bnZlbnRyeSh2b2lkKTsKK2V4dGVybiBzdHJ1Y3QgaW5fYWRkcgkJc2VydmlwOwogCiBzdHJ1Y3Qg
bmV0aWZfZGlmIHB4ZV9pZnNbXSA9IHsKIC8qCWRpZl91bml0ICAgICAgICBkaWZfbnNlbCAgICAg
ICAgZGlmX3N0YXRzICAgICAgIGRpZl9wcml2YXRlICAgICAqLwpAQCAtMjc2LDE3ICsyNzcsMzgg
QEAKIAkJCX0KIAkJCWlmIChweGVfZGVidWcpCiAJCQkJcHJpbnRmKCJweGVfb3BlbjogbmV0aWZf
b3BlbigpIHN1Y2NlZWRlZFxuIik7CisKKwkJCWlmIChzb2NrdG9kZXNjKHB4ZV9zb2NrKSA9PSBO
VUxMKSB7CisJCQkJcHJpbnRmKCJweGVfb3BlbjogYmFkIHNvY2tldCAlZFxuIiwgcHhlX3NvY2sp
OworCQkJCXJldHVybiAoRU5YSU8pOworCQkJfQorCiAJCX0KIAkJaWYgKHJvb3RpcC5zX2FkZHIg
PT0gMCkgewogCQkJLyoKLQkJCSAqIERvIGEgYm9vdHAvZGhjcCByZXF1ZXN0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: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d2c64be203b35e22cdb83b741568ab7c>