diff --git a/go.mod b/go.mod index 43e165e..c5e502b 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module github.com/louisroyer/go-pfcp-networking go 1.17 -require github.com/wmnsk/go-pfcp v0.0.16-0.20220415105220-d1e74d0d7288 +require github.com/wmnsk/go-pfcp v0.0.23 diff --git a/go.sum b/go.sum index 6988804..805f33a 100644 --- a/go.sum +++ b/go.sum @@ -1,9 +1,6 @@ -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= -github.com/pascaldekloe/goe v0.1.0 h1:cBOtyMzM9HTpWjXfbbunk26uA6nG3a8n06Wieeh0MwY= -github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= -github.com/wmnsk/go-pfcp v0.0.16-0.20220415105220-d1e74d0d7288 h1:dCaIsNAUlpMYHlnXH/6faYlrI2PcunU/s/7mECWYFJo= -github.com/wmnsk/go-pfcp v0.0.16-0.20220415105220-d1e74d0d7288/go.mod h1:kp6if8K1n+6VGNodtkuPn1i9PxIKIymCfocOE2Y34Qk= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/pascaldekloe/goe v0.1.1 h1:Ah6WQ56rZONR3RW3qWa2NCZ6JAVvSpUcoLBaOmYFt9Q= +github.com/pascaldekloe/goe v0.1.1/go.mod h1:KSyfaxQOh0HZPjDP1FL/kFtbqYqrALJTaMafFUIccqU= +github.com/wmnsk/go-pfcp v0.0.23 h1:BhuKbFKHnoG/xWlGemAmh8kHG7iRxc6tuCo8E9qHkTI= +github.com/wmnsk/go-pfcp v0.0.23/go.mod h1:Q9B171qmZEI4k5n6trskNCz8JqW0J+RjpuqDE6ssF7o= diff --git a/pfcp/far_map.go b/pfcp/far_map.go index dd5aa1a..8595809 100644 --- a/pfcp/far_map.go +++ b/pfcp/far_map.go @@ -173,7 +173,7 @@ func NewFARMap(fars []*ie.IE) (farmap *FARMap, err error, cause uint8, offending } } - err = f.Add(NewFAR(ie.NewFARID(id), ie.NewApplyAction(aa), ie.NewForwardingParameters(fp...))) + err = f.Add(NewFAR(ie.NewFARID(id), ie.NewApplyAction(aa...), ie.NewForwardingParameters(fp...))) if err != nil { return nil, err, ie.CauseMandatoryIEIncorrect, ie.CreateFAR }