Bug 4658

Summary: vconfig set_name_type requires 'optional' name-type argument
Product: Busybox Reporter: Philip Prindeville <philipp>
Component: NetworkingAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: busybox-cvs, philipp
Priority: P5    
Version: 1.19.x   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:

Description Philip Prindeville 2012-01-03 00:07:55 UTC
According to the usage printed out, the "name-type" arg to "set_name_type" should be optional.  It's not:

# vconfig set_name_type
BusyBox v1.19.3 (2011-12-10 15:32:43 MST) multi-call binary.

Usage: vconfig COMMAND [OPTIONS]

Create and remove virtual ethernet devices

	add		[interface-name] [vlan_id]
	rem		[vlan-name]
	set_flag	[interface-name] [flag-num] [0 | 1]
	set_egress_map	[vlan-name] [skb_priority] [vlan_qos]
	set_ingress_map	[vlan-name] [skb_priority] [vlan_qos]
	set_name_type	[name-type]

#
Comment 1 Denys Vlasenko 2012-01-16 03:01:35 UTC
Fixed in git:

commit fdd0b3b398d3ea859d758992ed24eac343a6ee12
Author: Denys Vlasenko <vda.linux@googlemail.com>
Date:   Mon Jan 16 04:00:37 2012 +0100

    vconfig: fix help text; small code shrink