Date: Wed, 1 Mar 2017 20:24:47 +0000 From: "asomers (Alan Somers)" <phabric-noreply@FreeBSD.org> To: freebsd-net@freebsd.org Subject: [Differential] D9451: Constrain IPv6 interface routes to each FIB Message-ID: <8d3f0b5dadbd46bcb3b69d3ae08a332b@localhost.localdomain> In-Reply-To: <differential-rev-PHID-DREV-xl62ljmjgot45obmsgfw-req@FreeBSD.org> References: <differential-rev-PHID-DREV-xl62ljmjgot45obmsgfw-req@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
YXNvbWVycyBhZGRlZCBhIGNvbW1lbnQuCgoKICBUaGlzIHJldmlldyBpcyBzdGFydGluZyB0byBs b29rIHByZXR0eSBnb29kLiAgQnV0IGluIGFkZGl0aW9uIHRvIHRoZSBmZXcgdGhpbmdzIEkgbWVu dGlvbmVkIGlubGluZSwgdGhlcmUncyBvbmUgb3RoZXIgY2hhbmdlIHRoYXQgeW91IG5lZWQgdG8g bWFrZTogeW91IGdldCB0byBjbGVhciB0aGUgYGF0Zl9leHBlY3RfZmFpbGAgc3RhdGVtZW50cyBm cm9tIHRlc3RzL3N5cy9uZXRpbmV0L2ZpYnNfdGVzdC5zaC4KCklOTElORSBDT01NRU5UUwoKPiBq aHVqaGl0aV9hZGplY3RpdmlzbS5vcmcgd3JvdGUgaW4gbmQ2LmM6MTI5NQo+IEknbSByZXRoaW5r aW5nIHRoaXMgYSBsaXR0bGUgYml0LiBXaGlsZSBJIHRoaW5rIGl0J3MgdHJ1ZSB0aGF0IHRoZSBt b3N0IGNvcnJlY3Qgd2F5IHRvIGFuc3dlciB0aGUgcXVlc3Rpb24gIklzIHRoaXMgYWRkcmVzcyBh IG5laWdoYm9yPyIgaXMgdG8gY29uc2lkZXIgYWRkcmVzc2VzIGluIGFueSBGSUIsIEknbSBub3Qg c3VyZSBpdCdzIG5lY2Vzc2FyeS4gU2luY2UgdGhlIGNhbGxlciBpcyBzcGVjaWZ5aW5nIHdoaWNo IGludGVyZmFjZSB0aGlzIGFkZH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