]> git.ipfire.org Git - thirdparty/iproute2.git/commit
iproute: Add ability to save, restore and show the interfaces' addresses (resend)
authorPavel Emelyanov <xemul@parallels.com>
Tue, 11 Sep 2012 15:47:00 +0000 (19:47 +0400)
committerStephen Hemminger <shemminger@vyatta.com>
Tue, 11 Sep 2012 16:18:21 +0000 (09:18 -0700)
commit81824ac2285d4d82c74b6293bb23027ef5a3ec67
treeda1ba68df9fbc428153c9b28559d8dcd3ba6e042
parent4ef9ff2a8f9517127ef230a4d0b8f183db644c8a
iproute: Add ability to save, restore and show the interfaces' addresses (resend)

This functionality is required by checkpoint-restore project. Since the
dump and restore for routes is already done in ip tool it's naturally to
dump and restore addresses in the ip tool as well.

The implementation logic is the same as for the respective one for routes.
The magic number digits are taken from the Seattle coordinates.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
ip/ipaddress.c