Print SegReqFlags field names
Before the output of `SegReq.String()` was:
`1-ff00:0:111 -> 1-ff00:0:110, Flags: {false false}`
Now the output is:
`1-ff00:0:111 -> 1-ff00:0:110, Flags: {Sibra:false CacheOnly:false}`
fixes
@@ -60,5 +60,5 @@ func (s *SegReq) Write(b common.RawBytes) (int, error) {
}
func (s *SegReq) String() string {
- return fmt.Sprintf("%s -> %s, Flags: %v", s.SrcIA(), s.DstIA(), s.Flags)
+ return fmt.Sprintf("%s -> %s, Flags: %+v", s.SrcIA(), s.DstIA(), s.Flags)
}
