github.com/cloudbase/juju-core@v0.0.0-20140504232958-a7271ac7912f/provider/local/net_linux.go (about)

     1  // Copyright 2013 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  package local
     4  
     5  import (
     6  	"launchpad.net/juju-core/utils"
     7  )
     8  
     9  // getAddressForInterface is a variable so we can change the implementation
    10  // for testing purposes.
    11  var getAddressForInterface = utils.GetAddressForInterface