Re: [PATCH] mount.cifs: Add support for parsing IPv6 addresses enclosed in brackets.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 14, 2013 at 2:19 PM,  <scott.lovenberg@xxxxxxxxx> wrote:
> From: Scott Lovenberg <scott.lovenberg@xxxxxxxxx>
>
> The standard for formatting IPv6 addresses is to enclose them in brackets.
> This patch allows the mount helper to parse IPv6 addresses that are enclosed in brackets.
> There is a slight change of behavior in this patch; specifying the --ip option without
> supplying an address now exits the mount helper rather than just ignoring and continuing.
>
> Signed-off-by: Scott Lovenberg <scott.lovenberg@xxxxxxxxx>

I should mention, this hasn't actually been tested.  Only compiled.  A
patch this small is usually fairly safe.. then again, I've messed up
one-liners.  A few eyes over this code would be appreciated.


--
Peace and Blessings,
-Scott.
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux