aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/gobind-pinecone/monolith.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/build/gobind-pinecone/monolith.go b/build/gobind-pinecone/monolith.go
index 5b368a99..b0d3fa28 100644
--- a/build/gobind-pinecone/monolith.go
+++ b/build/gobind-pinecone/monolith.go
@@ -101,6 +101,20 @@ func (m *DendriteMonolith) SessionCount() int {
return len(m.PineconeQUIC.Protocol("matrix").Sessions())
}
+func (m *DendriteMonolith) RegisterNetworkInterface(name string, index int, mtu int, up bool, broadcast bool, loopback bool, pointToPoint bool, multicast bool, addrs string) {
+ m.PineconeMulticast.RegisterInterface(pineconeMulticast.InterfaceInfo{
+ Name: name,
+ Index: index,
+ Mtu: mtu,
+ Up: up,
+ Broadcast: broadcast,
+ Loopback: loopback,
+ PointToPoint: pointToPoint,
+ Multicast: multicast,
+ Addrs: addrs,
+ })
+}
+
func (m *DendriteMonolith) SetMulticastEnabled(enabled bool) {
if enabled {
m.PineconeMulticast.Start()