X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=polypath.c;h=e3c31e625212242a8a9441bd8b5068e5d3ae8d8d;hb=1cef26c2d19ca466d617489a65b83346a704f404;hp=a1cfab9e0962841274b2a517fda555ddfbca93e3;hpb=d8a024fe35f4be56f4ac17fa68aee2264960a8ac;p=secnet.git diff --git a/polypath.c b/polypath.c index a1cfab9..e3c31e6 100644 --- a/polypath.c +++ b/polypath.c @@ -7,7 +7,7 @@ * * secnet is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version d of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * secnet is distributed in the hope that it will be useful, but @@ -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); }