Removing DatagramSize

master
Uriel Fanelli 2023-08-17 19:59:55 +02:00
parent 0922204c30
commit b2559cb022
2 changed files with 3 additions and 5 deletions

View File

@ -26,10 +26,9 @@ func init() {
os.Exit(1)
}
a.MulticastConfig.MaxDatagramSize = len("75568770-cee4-4506-a790-036e232fb1b3")
MulticastEntity.MIpAddr = a.MulticastConfig.MIPAddr
MulticastEntity.MPort = a.MulticastConfig.MPort
MulticastEntity.MaxDatagramSize = a.MulticastConfig.MaxDatagramSize
MulticastEntity.MaxDatagramSize = len("75568770-cee4-4506-a790-036e232fb1b3")
ZoreideBridge.BridgeIpCIDR = a.InterfaceConfig.BridgeIPCIDR
ZoreideBridge.ExistingInterface = a.InterfaceConfig.ExistingInterface

View File

@ -22,9 +22,8 @@ type AbstractMulticast struct {
type AbstractConfig struct {
MulticastConfig struct {
MIPAddr string `json:"MIpAddr"`
MPort string `json:"MPort"`
MaxDatagramSize int `json:"MaxDatagramSize"`
MIPAddr string `json:"MIpAddr"`
MPort string `json:"MPort"`
} `json:"MulticastConfig"`
InterfaceConfig struct {
ExistingInterface string `json:"ExistingInterface"`