diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-09-06 10:30:10 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-09-06 10:30:10 +0200 |
commit | 9e4c8217d3f2c7490eb6a26a49e67aeac96ca7c2 (patch) | |
tree | 25f27e08015dd9ac45cdfea85f578937982f7c16 /pingu_iface.h | |
parent | 91774e47e23c83aa3df901adc167ab4592f87a22 (diff) | |
download | pingu-9e4c8217d3f2c7490eb6a26a49e67aeac96ca7c2.tar.bz2 pingu-9e4c8217d3f2c7490eb6a26a49e67aeac96ca7c2.tar.xz |
pingu: only create/lose binding when we get/lose address
We don't need to rebind every burst. We only bind when we get an address
and we only lose the binding when the address is lost.
Diffstat (limited to 'pingu_iface.h')
-rw-r--r-- | pingu_iface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pingu_iface.h b/pingu_iface.h index 796d17a..5b09c7e 100644 --- a/pingu_iface.h +++ b/pingu_iface.h @@ -13,8 +13,9 @@ struct pingu_iface { char name[32]; int index; - int has_binding; int has_link; + int has_address; + int has_binding; int balance; int balance_weight; int fd; |