1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/networkdriver/portallocator
Michal Minar 40d5406371 Pass buffered file reader to Fscanf instead of string reader
Unless `file` is wrapped with buffered reader, `fmt.Fscanf` will read
just one byte and terminate with `EOF`.

Signed-off-by: Michal Minar <miminar@redhat.com>
2015-03-13 09:40:53 +01:00
..
portallocator.go Pass buffered file reader to Fscanf instead of string reader 2015-03-13 09:40:53 +01:00
portallocator_test.go Use default port range in unit tests 2015-03-09 16:58:14 +01:00