Fix segmentation fault when dumping subnets.
This commit is contained in:
parent
23a22ea1ce
commit
d8ea4c11de
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ bool dump_subnets(connection_t *c) {
|
|||
|
||||
send_request(c, "%d %d %s %s",
|
||||
CONTROL, REQ_DUMP_SUBNETS,
|
||||
netstr, subnet->owner->name);
|
||||
netstr, subnet->owner ? subnet->owner->name : "(broadcast)");
|
||||
}
|
||||
|
||||
return send_request(c, "%d %d", CONTROL, REQ_DUMP_SUBNETS);
|
||||
|
|
Loading…
Reference in a new issue