]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Update from Andrew Chittenden.
authorTed Lemon <source@isc.org>
Thu, 10 Jun 1999 00:11:46 +0000 (00:11 +0000)
committerTed Lemon <source@isc.org>
Thu, 10 Jun 1999 00:11:46 +0000 (00:11 +0000)
common/tr.c

index 96b6307f2fc3fbd9655a8c7db3437e2935c553e4..28be924e43463e7962055ccdbafaeaf28141619b 100644 (file)
@@ -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));