Karel Kočí
|
3d9bd73e8c
utils: fix check_pid_path to work with deleted file as well
|
4 years ago |
Hans Dedecker
|
cec1ce296e
utils: Move IP address validation to parse_addr function
|
8 years ago |
Naresh Kumar Mehta
|
7a51f23e70
utils.c: Add ip address validation
|
8 years ago |
Felix Fietkau
|
2d09cca0e9
utils.c: add missing include
|
9 years ago |
John Crispin
|
8663e9de71
add a helper to convert blobmsg types to luci validate rules
|
10 years ago |
Felix Fietkau
|
f80b9e4acc
utils: add a function for checking if a process given by pid is still alive
|
11 years ago |
Steven Barth
|
486aa750a1
Only update resolv.conf if changed (avoid logspam)
|
11 years ago |
Jo-Philipp Wich
|
8370eef2bc
utils.c: add helper function to format mac addresses as strings
|
12 years ago |
Stéphan Kochen
|
1ada8cef98
Move IP address parsing functions to utils.
|
12 years ago |
Felix Fietkau
|
478d49f227
vlist is now part of libubox
|
12 years ago |
Felix Fietkau
|
1c326d5a6c
avl_strcmp is now part of libubox
|
12 years ago |
Felix Fietkau
|
e383571250
flush list in vlist_replace()
|
12 years ago |
Felix Fietkau
|
b0b11b2295
move dns server/search list parsing to interface core to support peerdns=0 + static entries
|
12 years ago |
Felix Fietkau
|
bfe5db1ea8
add copyright headers
|
12 years ago |
Felix Fietkau
|
449b8758a0
vlist: add a special node version -1 for nodes that should not be flushed on updates
|
12 years ago |
Felix Fietkau
|
c6e1778d44
simplify vlist, move avl key handling to vlist_add()
|
12 years ago |
Felix Fietkau
|
e270a58cef
vlist: fix node version update for tree->keep_old/no_delete
|
12 years ago |
Felix Fietkau
|
b7e1b35ff1
add a simplified vlist type
|
13 years ago |
Felix Fietkau
|
32872acd74
fix a logic error leading to segfaults on updates
|
13 years ago |
Felix Fietkau
|
39f5ec857a
utils: fix existing node check when keep_old/no_delete is enabled
|
13 years ago |
Felix Fietkau
|
3c024e7b31
add a new vlist flag for avoiding automatic delete of entries
|
13 years ago |
Felix Fietkau
|
13ec81ce3e
vlist: store a pointer to the real key to make lookups easier
|
13 years ago |
Felix Fietkau
|
98565127c6
extend vlist code to allow keeping the old data structure instead of the new one on updates
|
13 years ago |
Felix Fietkau
|
05e910cec6
make versioned lists more flexible by using an external comparator
|
13 years ago |
Felix Fietkau
|
69b2dcb92b
add code for versioned lists and use it to manage addresses and routes
|
13 years ago |
Felix Fietkau
|
3492219e21
move some code to utils.[ch]
|
13 years ago |