mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 20:24:03 +03:00
Remove mentioning of DC overrides
This commit is contained in:
@@ -2,12 +2,10 @@ package dc
|
||||
|
||||
type dcView struct {
|
||||
publicConfigs dcAddrSet
|
||||
ownConfigs dcAddrSet
|
||||
}
|
||||
|
||||
func (d dcView) getV4(dc int) []Addr {
|
||||
addrs := d.publicConfigs.getV4(dc)
|
||||
addrs = append(addrs, d.ownConfigs.getV4(dc)...)
|
||||
addrs = append(addrs, defaultDCAddrSet.getV4(dc)...)
|
||||
|
||||
return addrs
|
||||
@@ -15,7 +13,6 @@ func (d dcView) getV4(dc int) []Addr {
|
||||
|
||||
func (d dcView) getV6(dc int) []Addr {
|
||||
addrs := d.publicConfigs.getV6(dc)
|
||||
addrs = append(addrs, d.ownConfigs.getV6(dc)...)
|
||||
addrs = append(addrs, defaultDCAddrSet.getV6(dc)...)
|
||||
|
||||
return addrs
|
||||
|
||||
Reference in New Issue
Block a user