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

index eee8f9a6e71f8e0e1898c2c805627db5a22f1ad8..b19c1833fc8810f3b6bb82f8efa9bf0eb2518e71 100644 (file)
@@ -242,8 +242,7 @@ 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))) {
+                   && (((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));