From: Ted Lemon Date: Thu, 10 Jun 1999 00:11:46 +0000 (+0000) Subject: Update from Andrew Chittenden. X-Git-Tag: V3-ALPHA-19990608~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53029a93e598745fc8e277cd2fd956a3df95cc76;p=thirdparty%2Fdhcp.git Update from Andrew Chittenden. --- diff --git a/common/tr.c b/common/tr.c index 96b6307f2..28be924e4 100644 --- a/common/tr.c +++ b/common/tr.c @@ -259,9 +259,8 @@ static void save_source_routing(trh, interface) /* found an entry so update it with fresh information */ if (rover != NULL) { - if ((trh->saddr[0] & TR_RII) - && (((ntohs(trh->rcf) & TR_RCF_LEN_MASK) >> 8) > 2) - && !(trh->rcf & htons(TR_RCF_BROADCAST_MASK))) { + if ((trh->saddr[0] & TR_RII) && + ((ntohs(trh->rcf) & TR_RCF_LEN_MASK) >> 8) > 2) { rcf = ntohs(trh->rcf); rcf &= ~TR_RCF_BROADCAST_MASK; memcpy(rover->rseg, trh->rseg, sizeof(rover->rseg));