bin/189471: ipfw table regression

bycn82 bycn82 at gmail.com
Tue May 13 06:50:01 UTC 2014


The following reply was made to PR bin/189471; it has been noted by GNATS.

From: bycn82 <bycn82 at gmail.com>
To: bug-followup at FreeBSD.org, dyr at smartspb.net
Cc:  
Subject: Re: bin/189471: ipfw table regression
Date: Tue, 13 May 2014 14:45:11 +0800

 This is a multi-part message in MIME format.
 --------------040309010906080603070008
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 developers are still working on it, so
 
 1.    you can get the latest source which already fixed this issue.
 
 2.    or just comment out the whole else trunk as below
          } else {
              /* Port or any other key */
              key = strtol(arg, &p, 10);
              /* Skip non-base 10 entries like 'fa1' */
              if (p != arg) {
                  pkey = (uint32_t *)paddr;
                  *pkey = htonl(key);
                  type = IPFW_TABLE_CIDR;
                  addrlen = sizeof(uint32_t);
              }
          }
 
 3.    or only comment out this  line in the else trunk
      type = IPFW_TABLE_CIDR;
 
 
 Can the developer help to explain what kind of data you want to support 
 in the table?
 
 --------------040309010906080603070008
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 <html>
   <head>
 
     <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
   </head>
   <body bgcolor="#FFFFFF" text="#000000">
     <font face="Calibri">developers are still working on it, so <br>
       <br>
       1.    you can get the latest source which already fixed this
       issue.<br>
       <br>
       2.    or just comment out the whole else trunk as below<br>
               } else {<br>
                   /* Port or any other key */<br>
                   key = strtol(arg, &p, 10);<br>
                   /* Skip non-base 10 entries like 'fa1' */<br>
                   if (p != arg) {<br>
                       pkey = (uint32_t *)paddr;<br>
                       *pkey = htonl(key);<br>
                       type = IPFW_TABLE_CIDR;<br>
                       addrlen = sizeof(uint32_t);<br>
                   }<br>
               }<br>
       <br>
       3.    or only comment out this  line in the else trunk <br>
     </font><font face="Calibri">     type = IPFW_TABLE_CIDR;</font><br>
     <br>
     <br>
     <font face="Calibri">Can the developer help to explain what kind of
       data you want to support in the table?<br>
     </font>
   </body>
 </html>
 
 --------------040309010906080603070008--


More information about the freebsd-bugs mailing list