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
aHR0cDovL2xpc3RzLnA0Lm9yZy9tYWlsbWFuL2xpc3RpbmZvL3A0LWRldl9saXN0cy5wNC5vcmcN
Cg0KDQoNCi0tIA0KDQoNCg0KVmxhZGltaXIgR3VyZXZpY2gNCg0KQmFyZWZvb3QgTmV0d29ya3MN
ClRlY2huaWNhbCBMZWFkLCBDdXN0b21lciBFbmdpbmVlcmluZw0KRW1haWw6IHZhZ0BiYXJlZm9v
dG5ldHdvcmtzLmNvbQ0KUGhvbmU6ICg0MDgpIDgzMy00NTA1

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


More information about the P4-dev mailing list