google / google/gopacket

add SIP SerializableLayer support

Open
#1,216 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
6.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

i want to use
gopacket.SerializeLayers function
with
layers.SIP{...}
(https://github.com/google/gopacket/blob/master/layers/sip.go)

but it does not implement the needed method:
```
cannot use sipLayer (variable of type *layers.SIP) as gopacket.SerializableLayer value in argument to gopacket.SerializeLayers: *layers.SIP does not implement gopacket.SerializableLayer (missing method SerializeTo)
```

would be nice if you can add this

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.