HedongGao opened a new pull request, #3308:
URL: https://github.com/apache/nuttx-apps/pull/3308

   ## Summary
   
   Fix a issue of vlan pcp config 
[3305](https://github.com/apache/nuttx-apps/issues/3305)
   
   ## Impact
   
   User can config vlan pcp when add it, and default  pcp is 0
   `vconfig add eth0 10` will create eth0.10 with VID=10 and no PCP(0)
    `vconfig add eth0 10 3` will create eth0.10 with VID=10 and PCP=3
   
   ## Testing
   Open the compilation options CONFIG_NET_VLAN and CONFIG_NSH_DISABLE_VCONFIG. 
   Add a vlan interface withc comand: `vconfig add eth0 10 3; ifconfig eth0.10 
192.168.10.2/24`, config host vlan interface and ping from sim to host , then 
check pcp in packet.
   
   Change a pcp and check agin.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to