diff --git a/src/subnet.c b/src/subnet.c index 23160e52..5356f3a7 100644 --- a/src/subnet.c +++ b/src/subnet.c @@ -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);