jpetazzo / pipework

Software-Defined Networking tools for LXC (LinuX Containers)
Apache License 2.0
4.21k stars 727 forks source link

Added support for ip family option (IPv4 or IPv6) when addressing statically #195

Closed jcrsilva closed 8 years ago

jcrsilva commented 8 years ago

This aims to fix a bug: when you run pipework assigning an IPv4 address and afterwards assign an IPv6 address, pipework removes the original IPv4 default route instead of the IPv6 one.

A new optional argument (-a 4 or -a 6) allows one to specify the type of address to be added.

jpetazzo commented 8 years ago

That could be useful, for sure! Do you think you could rebase it? Thank you!

jcrsilva commented 8 years ago

Rebased :+1:

jpetazzo commented 8 years ago

Awesome, thanks!