Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 73549
Collapse All | Expand All

(-)macchanger.orig (-5 / +5 lines)
Lines 59-77 Link Here
59
		[0-9A-F][0-9A-F]:[0-9A-F][0-9A-F]:[0-9A-F][0-9A-F]:[0-9A-F][0-9A-F]:[0-9A-F][0-9A-F]:[0-9A-F][0-9A-F]) opts="${opts} --mac=${mac}" ;;
59
		[0-9A-F][0-9A-F]:[0-9A-F][0-9A-F]:[0-9A-F][0-9A-F]:[0-9A-F][0-9A-F]:[0-9A-F][0-9A-F]:[0-9A-F][0-9A-F]) opts="${opts} --mac=${mac}" ;;
60
60
61
		# increment MAC address, default macchanger behavior
61
		# increment MAC address, default macchanger behavior
62
		increment) opts="${opts}" ;;
62
		INCREMENT) opts="${opts}" ;;
63
63
64
		# randomize just the ending bytes
64
		# randomize just the ending bytes
65
		random-ending) opts="${opts} -e" ;;
65
		RANDOM-ENDING) opts="${opts} -e" ;;
66
66
67
		# keep the same kind of physical layer (eg fibre, copper)
67
		# keep the same kind of physical layer (eg fibre, copper)
68
		random-samekind) opts="${opts} -a" ;;
68
		RANDOM-SAMEKIND) opts="${opts} -a" ;;
69
69
70
		# randomize to any known vendor of any physical layer type
70
		# randomize to any known vendor of any physical layer type
71
		random-anykind) opts="${opts} -A" ;;
71
		RANDOM-ANYKIND) opts="${opts} -A" ;;
72
72
73
		# fully random bytes
73
		# fully random bytes
74
		random-full) opts="${opts} -r" ;;
74
		RANDOM-FULL) opts="${opts} -r" ;;
75
75
76
		# default case is just to pass on all the options
76
		# default case is just to pass on all the options
77
		*) opts="${opts} ${mac}" ;;
77
		*) opts="${opts} ${mac}" ;;

Return to bug 73549