mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-07 04:42:52 -05:00
fix deletion of exit routes without nodes (#2286)
Fixes #2259 Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
@@ -14,7 +14,7 @@ type Route struct {
|
||||
gorm.Model
|
||||
|
||||
NodeID uint64
|
||||
Node Node
|
||||
Node *Node
|
||||
|
||||
// TODO(kradalby): change this custom type to netip.Prefix
|
||||
Prefix netip.Prefix `gorm:"serializer:text"`
|
||||
|
||||
Reference in New Issue
Block a user