Hi,
From looking at the code, I'm not sure this is correct? In case of `received-from=` given in the list of flags, I see `ng_flags->received_from` being referenced and treated as a list (items added to it) before it's set to anything. I would expect to see something like `ng_flags->received_from = bencode_list()` somewhere.
Thank you I have fixed it by adding ng_flags.received-from = bencode_list(bencbuf); at line number 2562