Fix typo when reallocating old_if.
This was introduced when the old_if table was made dynamic.
@@ -651,7 +651,7 @@ get_old_if(const char *ifname)
if(num_old_if >= MAX_INTERFACES)
return -1;
if(num_old_if >= max_old_if) {
- int n = max_old_if = 0 ? 4 : 2 * 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));
if(new != NULL) {
