• L
    util: combine bools in virNetDevTapCreateInBridgePort into flags · d1c31023
    Laine Stump 提交于
    With an additional new bool added to determine whether or not to
    discourage the use of the supplied MAC address by the bridge itself,
    virNetDevTapCreateInBridgePort had three booleans (well, 2 bools and
    an int used as a bool) in the arg list, which made it increasingly
    difficult to follow what was going on. This patch combines those three
    into a single flags arg, which not only shortens the arg list, but
    makes it more self-documenting.
    d1c31023
virnetdevtap.c 9.7 KB