diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2014-05-18 03:02:29 +0000 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-05-18 03:02:29 +0000 |
commit | d3a17940de818452970a80cb7dba7a793f8ee1e2 (patch) | |
tree | 0800f5975b6e5bd6fca886f3922e74f407aa3e9e /accel-pppd/include | |
parent | ad39c45f1fe5ba4f84c87de6166c55c2c176840c (diff) | |
download | accel-ppp-d3a17940de818452970a80cb7dba7a793f8ee1e2.tar.gz accel-ppp-d3a17940de818452970a80cb7dba7a793f8ee1e2.zip |
2-way interface renaming
First try to rename interface immediately and if it fails then do second try later just before bring interface up.
In case single-session=replace first try to rename interface may fail because first session may be active
Diffstat (limited to 'accel-pppd/include')
-rw-r--r-- | accel-pppd/include/ap_session.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/include/ap_session.h b/accel-pppd/include/ap_session.h index cde8dc0..a7cc43f 100644 --- a/accel-pppd/include/ap_session.h +++ b/accel-pppd/include/ap_session.h @@ -66,6 +66,7 @@ struct ap_session int state; char *chan_name; char ifname[AP_IFNAME_LEN]; + char *ifname_rename; int unit_idx; int ifindex; char sessionid[AP_SESSIONID_LEN+1]; |