summaryrefslogtreecommitdiff
path: root/accel-pppd/include
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2014-07-11 14:35:58 +0400
committerDmitry Kozlov <xeb@mail.ru>2014-07-11 14:35:58 +0400
commit5e824440c2044a443d73d53650505f55c6c4038b (patch)
treef1173bc44c8be850823b3f219f55c204d42b4b1e /accel-pppd/include
parentca96af9c783f0aa01d89f3226e91014a77f7624f (diff)
downloadaccel-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.h2
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);