diff options
author | sotech117 <michael_foiani@brown.edu> | 2023-10-23 20:50:53 -0400 |
---|---|---|
committer | sotech117 <michael_foiani@brown.edu> | 2023-10-23 20:50:53 -0400 |
commit | f639761a78f672d02bc616f6062f77e95f461d03 (patch) | |
tree | 9eb13871f132db648f70b915eb7d4309b2abc24e /pkg/ipstack | |
parent | bb4eefb4fc928b1e681966167c60a4bc79c5b55b (diff) |
reassemble the executables
Diffstat (limited to 'pkg/ipstack')
-rw-r--r-- | pkg/ipstack/ipstack.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/ipstack/ipstack.go b/pkg/ipstack/ipstack.go index 6bce6e8..d3178b8 100644 --- a/pkg/ipstack/ipstack.go +++ b/pkg/ipstack/ipstack.go @@ -680,6 +680,7 @@ func StartRipRoutines() { // ************************************** PROTOCOL HANDLERS ******************************************************* // RegisterProtocolHandler registers a protocol handler for a given protocol number +// Returns true if the protocol number is valid, false otherwise func RegisterProtocolHandler(protocolNum int) bool { if protocolNum == RIP_PROTOCOL { protocolHandlers[protocolNum] = HandleRIP |