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DRjX2JtLmdlbl9qc29uOlRoZSBQNCBw
cm9ncmFtIGRlZmluZXMgYSBjaGVja3N1bSB2ZXJpZmljYXRpb24gb24gZmllbGQgJ2lwdjQuaGRy
Q2hlY2tzdW0nIGFzIG9mIG5vdyBibXYyIGlnbm9yZXMgYWxsIGNoZWNrc3VtIHZlcmlmaWNhdGlv
bnMgY2hlY2tzdW0gdXBkYXRlcyBhcmUgcHJvY2Vzc2VkIGNvcnJlY3RseS4NCg0KR2VuZXJhdGlu
ZyBqc29uIG91dHB1dCB0byAvaG9tZS9vcGVuZGF5bGlnaHQvcDRsYW5nL3R1dG9yaWFscy1tYXN0
ZXIvU0lHQ09NTV8yMDE1L2Zsb3dsZXRfc3dpdGNoaW5nL3NvbHV0aW9uL3A0c3JjL3NpbXBsZV9y
b3V0ZXIuanNvbg==

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20170427/d8def385/attachment-0002.html>


More information about the P4-dev mailing list