]> git.proxmox.com Git - mirror_lxc.git/commit
rename struct lxc_netdev fields to match reality
authorMichael Tokarev <mjt@tls.msk.ru>
Thu, 19 Nov 2009 14:06:02 +0000 (15:06 +0100)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Thu, 19 Nov 2009 14:06:02 +0000 (15:06 +0100)
commit9d0834025efa00c5bce49d66e9930ecd3ce934c2
tree0dd58b050f953329e3a3f59b905a4198913eceae
parent0f71d073eec849672b7f5a089fb4697f423c35bc
rename struct lxc_netdev fields to match reality

struct lxc_netdev is used to hold information from cnfig file
about a network device/configuration.  Make the fields of this
structure to be named similarily with the config file keywords,
namely:
 s/ifname/link/ - host-side link for the device (bridge or eth0)
 s/newname/name/ - container-side ifname
It is insane to have completely different names in config file
and in structure/variable names :)

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/conf.c
src/lxc/conf.h
src/lxc/confile.c