diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2017-10-11 21:33:27 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2017-10-11 21:33:27 +0300 |
commit | 7be5b657cd57f61971680087e606f36e36605144 (patch) | |
tree | cc6040f4b2618fd01494dfa197de109ea9934b11 /accel-pppd/backup | |
parent | 92af4b9535a8d9eee6800157a72fc87572b54df9 (diff) | |
download | accel-ppp-7be5b657cd57f61971680087e606f36e36605144.tar.gz accel-ppp-7be5b657cd57f61971680087e606f36e36605144.zip |
pppd_compat: various improvemments
implemented coinfig reload
changed default value of ip-xxx scripts to be NULL (disabled)
Diffstat (limited to 'accel-pppd/backup')
-rw-r--r-- | accel-pppd/backup/backup.c | 1 | ||||
-rw-r--r-- | accel-pppd/backup/backup.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/accel-pppd/backup/backup.c b/accel-pppd/backup/backup.c index 18e9332f..f4f8a9e6 100644 --- a/accel-pppd/backup/backup.c +++ b/accel-pppd/backup/backup.c @@ -219,7 +219,6 @@ void __export backup_restore_session(struct backup_data *d) } } - void __export backup_register_module(struct backup_module *m) { list_add_tail(&m->entry, &module_list); diff --git a/accel-pppd/backup/backup.h b/accel-pppd/backup/backup.h index 3d3d77ec..d36f70bd 100644 --- a/accel-pppd/backup/backup.h +++ b/accel-pppd/backup/backup.h @@ -21,7 +21,7 @@ struct backup_tag { struct list_head entry; uint16_t internal:1; - uint8_t id; + uint16_t id:15; uint16_t size; uint8_t *data; }; |