On Wed, 15 Jul 2015 05:50:42 -0700
Nikolay Aleksandrov <[email protected]> wrote:
> After commit 8250bc9ff4e5 ("ss: Unify inet sockets output") raw sockets
> are displayed as udp because dgram_show_line() is used for both and
> thus IPPROTO_UDP is used for both so proto_name() returns "udp".
> Fix this by checking dg_proto which is set according to the caller of
> dgram_show_line().
>
> Reported-by: Miha Marolt <[email protected]>
> Signed-off-by: Nikolay Aleksandrov <[email protected]>
> ---
> note: use 0 instead of IPPROTO_RAW like Eric suggested
>
> misc/ss.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html