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

From: bycn82 <byc...@gmail.com>
To: bug-follo...@freebsd.org, d...@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.&nbsp;&nbsp;&nbsp; you can get the latest source which already fixed 
this
       issue.<br>
       <br>
       2.&nbsp;&nbsp;&nbsp; or just comment out the whole else trunk as 
below<br>
       &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; } else {<br>
       &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; /* Port or any 
other key */<br>
       &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; key = 
strtol(arg, &amp;p, 10);<br>
       &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; /* Skip 
non-base 10 entries like 'fa1' */<br>
       &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (p != arg) 
{<br>
       &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; pkey = (uint32_t *)paddr;<br>
       &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; *pkey = htonl(key);<br>
       &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; type = IPFW_TABLE_CIDR;<br>
       &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; addrlen = sizeof(uint32_t);<br>
       &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>
       &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>
       <br>
       3.&nbsp;&nbsp;&nbsp; or only comment out this&nbsp; line in the else 
trunk <br>
     </font><font face="Calibri"> &nbsp;&nbsp;&nbsp; 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--
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to