X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/d8a024fe35f4be56f4ac17fa68aee2264960a8ac..1fc8a4acb3ef658696038c9c4bd3c155fbc27ac3:/polypath.c diff --git a/polypath.c b/polypath.c index a1cfab9..025909a 100644 --- a/polypath.c +++ b/polypath.c @@ -351,8 +351,8 @@ static void polypath_record_ifaddr(struct polypath *st, struct interf_list *interfs; switch (want) { - case '+': interfs=&st->interfs_general; max_interfs=st->max_interfs; - case '@': interfs=&st->interfs_dedicated; max_interfs=INT_MAX; + case '+': interfs=&st->interfs_general; max_interfs=st->max_interfs; break; + case '@': interfs=&st->interfs_dedicated; max_interfs=INT_MAX; break; default: fatal("polypath: got bad want (%#x, %s)", want, ifname); }