• D
    Include length with virSocketAddr data · af3d4eec
    Daniel P. Berrange 提交于
    Some operations on socket addresses need to know the length of
    the sockaddr struct for the particular address family. This
    info was being discarded when passing around virSocketAddr
    instances. Turn it from a union into a struct containing
    union+socklen_t fields, so length is always kept around.
    
    * src/util/network.h: Add socklen_t field to virSocketAddr
    * src/util/network.c, src/network/bridge_driver.c,
      src/conf/domain_conf.c: Update to take account of new
      struct definition.
    af3d4eec
domain_conf.c 237.0 KB