summaryrefslogtreecommitdiff
path: root/usr.sbin/IPXrouted/sap_output.c
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>1995-12-05 04:59:56 +0000
committerJulian Elischer <julian@FreeBSD.org>1995-12-05 04:59:56 +0000
commit61f20197aeb5002e9e906b3c2223c58ffb1a341d (patch)
tree953ed21bbcd360510e8929aa83d3fe8da7f31ddf /usr.sbin/IPXrouted/sap_output.c
parente862f24129a5e5ad04265fca3b47ceb1fae91582 (diff)
Notes
Diffstat (limited to 'usr.sbin/IPXrouted/sap_output.c')
-rw-r--r--usr.sbin/IPXrouted/sap_output.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/IPXrouted/sap_output.c b/usr.sbin/IPXrouted/sap_output.c
index 472e03848109..9456d81cd8bc 100644
--- a/usr.sbin/IPXrouted/sap_output.c
+++ b/usr.sbin/IPXrouted/sap_output.c
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: sap_output.c,v 1.1 1995/10/26 21:28:24 julian Exp $
+ * $Id: sap_output.c,v 1.2 1995/11/13 21:01:34 julian Exp $
*/
/*
@@ -157,7 +157,7 @@ sap_supply(dst, flags, ifp, ServType)
csap = sap->clone;
while (csap) {
if (csap->ifp == ifp)
- continue;
+ goto next;
csap = csap->clone;
}
@@ -172,6 +172,7 @@ sap_supply(dst, flags, ifp, ServType)
*n = sap->sap;
n->hops = htons(metric);
n++;
+next:
}
if (n != sap_msg->sap) {
size = (char *)n - (char *)sap_msg;