mirror of
https://shylinux.com/x/icebergs
synced 2025-05-06 13:17:03 +08:00
opt some
This commit is contained in:
parent
9e3aacbb8d
commit
7a76758128
@ -41,7 +41,7 @@ func _broad_serve(m *ice.Message, host, port string) {
|
|||||||
m.Logs(mdb.IMPORT, BROAD, string(buf[:n]), "from", from)
|
m.Logs(mdb.IMPORT, BROAD, string(buf[:n]), "from", from)
|
||||||
msg := m.Spawn(buf[:n])
|
msg := m.Spawn(buf[:n])
|
||||||
if msg.Option(mdb.TYPE) == "echo" {
|
if msg.Option(mdb.TYPE) == "echo" {
|
||||||
mdb.HashCreate(m, msg.OptionSimple(tcp.HOST, tcp.PORT))
|
mdb.HashCreate(m, msg.OptionSimple(kit.Simple(msg.Optionv(ice.MSG_OPTION))...))
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if remote := _broad_addr(m, msg.Option(tcp.HOST), msg.Option(tcp.PORT)); remote != nil {
|
if remote := _broad_addr(m, msg.Option(tcp.HOST), msg.Option(tcp.PORT)); remote != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user