X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=polypath.c;h=64284a30fa17f29225f4a5273b91853db03f5d1a;hb=564022994befb8f71b89ae015751b22c34ae3ee8;hp=025909a9f09681702fb9acc287ceb454b8c787a8;hpb=1fc8a4acb3ef658696038c9c4bd3c155fbc27ac3;p=secnet.git diff --git a/polypath.c b/polypath.c index 025909a..64284a3 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 @@ -27,6 +27,7 @@ #include #include +#include #ifdef CONFIG_IPV6 @@ -516,7 +517,7 @@ static void polypath_sendmsg_interf(struct polypath *st, "%s has no suitable address to transmit %s", interf->name, af_name(af)); - *allreasonable *= reasonable; + *allreasonable &= reasonable; } static bool_t polypath_sendmsg(void *commst, struct buffer_if *buf,