Commit b38bd2dc authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix another typo in get_old_if.

parent 2ff1fdfe
......@@ -653,7 +653,7 @@ get_old_if(const char *ifname)
if(num_old_if >= max_old_if) {
int n = max_old_if == 0 ? 4 : 2 * max_old_if;
struct old_if *new =
realloc(old_if, max_old_if * sizeof(struct old_if));
realloc(old_if, n * sizeof(struct old_if));
if(new != NULL) {
old_if = new;
max_old_if = n;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment