diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2014-07-11 14:35:58 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-07-11 14:35:58 +0400 |
commit | 5e824440c2044a443d73d53650505f55c6c4038b (patch) | |
tree | f1173bc44c8be850823b3f219f55c204d42b4b1e /accel-pppd/include | |
parent | ca96af9c783f0aa01d89f3226e91014a77f7624f (diff) | |
download | accel-ppp-5e824440c2044a443d73d53650505f55c6c4038b.tar.gz accel-ppp-5e824440c2044a443d73d53650505f55c6c4038b.zip |
terminate session if interface rename fails
Diffstat (limited to 'accel-pppd/include')
-rw-r--r-- | accel-pppd/include/ap_session.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/include/ap_session.h b/accel-pppd/include/ap_session.h index a7cc43fe..f6d92d78 100644 --- a/accel-pppd/include/ap_session.h +++ b/accel-pppd/include/ap_session.h @@ -131,7 +131,7 @@ int ap_session_set_username(struct ap_session *ses, char *username); void ap_session_ifup(struct ap_session *ses); void ap_session_ifdown(struct ap_session *ses); -void ap_session_rename(struct ap_session *ses, const char *ifname, int len); +int ap_session_rename(struct ap_session *ses, const char *ifname, int len); int ap_session_read_stats(struct ap_session *ses, struct rtnl_link_stats *stats); |