Commit bf66542b authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Linus Torvalds

cifs: update for new IP4/6 address printing

Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d05a788f
...@@ -361,12 +361,12 @@ cifs_show_options(struct seq_file *s, struct vfsmount *m) ...@@ -361,12 +361,12 @@ cifs_show_options(struct seq_file *s, struct vfsmount *m)
switch (server->addr.sockAddr6. switch (server->addr.sockAddr6.
sin6_family) { sin6_family) {
case AF_INET6: case AF_INET6:
seq_printf(s, NIP6_FMT, seq_printf(s, "%pI6",
NIP6(server->addr.sockAddr6.sin6_addr)); &server->addr.sockAddr6.sin6_addr);
break; break;
case AF_INET: case AF_INET:
seq_printf(s, NIPQUAD_FMT, seq_printf(s, "%pI4",
NIPQUAD(server->addr.sockAddr.sin_addr.s_addr)); &server->addr.sockAddr.sin_addr.s_addr);
break; break;
} }
} }
......
Markdown is supported
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