[Drbd-dev] [PATCH master] Fix bug in split_address() when handling IPv6 addresses

Robert Kim App and Facebook Marketing evdo.hsdpa at gmail.com
Tue Aug 31 20:08:47 CEST 2010


Manuel,

I also sent this post out to my twitter ... I'll let you know if
anything comes back!

On Tue, Aug 31, 2010 at 6:18 AM, Manuel Franceschini
<livewire at google.com> wrote:
> Hi all,
>
> On Wed, Jul 21, 2010 at 4:55 PM, Manuel Franceschini
> <livewire at google.com> wrote:
>>
>> Signed-off-by: Manuel Franceschini <livewire at google.com>
>> ---
>>
>> Hi all,
>>
>> this small patch fixes a bug when using "drbdsetup /dev/drbdX net" with
>> IPv6 addresses without specifying a port number as in
>> "ipv6:2001:db8::1".
>>
>> This patch relies, however, on a slighlty different syntax:
>>
>> $ drbdsetup /dev/drbdX net ipv6:[2001:db8::1] ipv6:[2001:db8::2]:7799 A
>>
>> The introduction of brackets is necessary, since there is no way to
>> reliably separate the IPv6 address with the port number being optional.
>>
>> I'm happy for any feedback/suggestions.
>>
>>
>> Cheers, Manuel.
>>
>>
>>  user/drbdsetup.c |   31 +++++++++++++++++++++++++------
>>  1 files changed, 25 insertions(+), 6 deletions(-)
>
> Any feedback/update on this patch?
>
>
> Thanks, Manuel.
>



-- 
Robert Q Kim
2611 S Coast Highway
San Diego, CA 92007
310 598 1606

My Latest Blog Post:
http://sparkah.com/2010/07/29/experienced-iphone-app-developer-los-angeles-how-to-tell-if-youre-going-to-get-burnt/
http://sparkah.com/2010/08/25/facebook-marketing-strategies-from-nyc-and-los-angeles-most-devious-minds-2/


More information about the drbd-dev mailing list