diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2013-06-11 23:01:28 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2013-06-11 23:01:28 +0400 |
commit | 338e86560f0bb991852f977ff5376a2d9fb71b20 (patch) | |
tree | 433992e7dbfae9ffd041a6b0216612b06cdd7855 /accel-pppd/session.c | |
parent | 23ef56423c127464216d534fe12a206c807a53d1 (diff) | |
download | accel-ppp-338e86560f0bb991852f977ff5376a2d9fb71b20.tar.gz accel-ppp-338e86560f0bb991852f977ff5376a2d9fb71b20.zip |
ipoe: fixed mask calculation for gw-ip-address
ipoe: pass router=siaddr if router was not configured by other way
Diffstat (limited to 'accel-pppd/session.c')
-rw-r--r-- | accel-pppd/session.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/session.c b/accel-pppd/session.c index 380552a7..f60c3802 100644 --- a/accel-pppd/session.c +++ b/accel-pppd/session.c @@ -42,7 +42,9 @@ int __export sock6_fd; int __export urandom_fd; int __export ap_shutdown; +#if __WORDSIZE == 32 static spinlock_t seq_lock; +#endif static long long unsigned seq; static struct timespec seq_ts; |