Skip to content
Commit 26d9a271 authored by Tom Parkin's avatar Tom Parkin Committed by David S. Miller
Browse files

l2tp: check socket address type in l2tp_dfs_seq_tunnel_show



checkpatch warns about indentation and brace balancing around the
conditionally compiled code for AF_INET6 support in
l2tp_dfs_seq_tunnel_show.

By adding another check on the socket address type we can make the code
more readable while removing the checkpatch warning.

Signed-off-by: default avatarTom Parkin <tparkin@katalix.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6c0ec37b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment