Re: [Ryu-devel] [PATCH] packet/bmp: Correctly parse peer address with IPv4

2017-08-29 Thread FUJITA Tomonori
On Mon, 21 Aug 2017 16:50:55 +0900 Satoshi Fujimoto wrote: > Currently, Ryu expects that the IPv4 peer address format is > "4 bytes with IPv4 address, followed by 12 bytes padding". > However RFC 7854 says the format is > "12 bytes padding, followed by 4 bytes with IPv4 address". > > This patch

[Ryu-devel] [PATCH] packet/bmp: Correctly parse peer address with IPv4

2017-08-21 Thread Satoshi Fujimoto
Currently, Ryu expects that the IPv4 peer address format is "4 bytes with IPv4 address, followed by 12 bytes padding". However RFC 7854 says the format is "12 bytes padding, followed by 4 bytes with IPv4 address". This patch fixes it to correctly parse/serialize peer address. Reported-by: Henk Sm