ifupdown: support 'link' address family
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
Mon, 3 Feb 2014 14:56:20 +0000 (15:56 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 3 Feb 2014 14:56:20 +0000 (15:56 +0100)
commitfe8390e0fe7106aed9f586b3cf08215effc4450b
treeee3728e44b84055424375a1024c031d052855b5b
parentd353bfff467517608af7468198431d32406bb943
ifupdown: support 'link' address family

Does not configure anything. L2 configuration hook scripts should do
their job on receiving ADDRFAM=link. Configuration will be done only
once, irrespective of L3 protocols used.

Using the 'link' family in the interfaces file conforms to the Debian
implementation:

http://sources.debian.net/src/ifupdown/0.7.47.1/link.defn

function                                             old     new   delta
link_methods                                           -      12     +12
addr_link                                              -      12     +12
link_up_down                                           -       6      +6
static.addr_fams                                      12      16      +4
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 1/0 up/down: 34/0)               Total: 34 bytes

Signed-off-by: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/ifupdown.c