mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
6d6aeff780
Currently GenerateIfaceName is defined in bridge.go and it specifically tries to only generate an interface name only with `veth` prefix. Make it generic so that it can accept a prefix and length of random bytes. Also move it to netutils since it is useful to generate various kinds of interface names using it. Signed-off-by: Jana Radhakrishnan <mrjana@docker.com> |
||
---|---|---|
.. | ||
types.go | ||
types_test.go |