sleinen / samplicator

Send copies of (UDP) datagrams to multiple receivers, with optional sampling and spoofing
GNU General Public License v2.0
389 stars 132 forks source link

Comment describing the config format in read_config.c is wrong #56

Open mozeq opened 6 years ago

mozeq commented 6 years ago

It says that the port separator is ':', but it's '/'.:

https://github.com/sleinen/samplicator/blob/37e0e90cec9021ecf287e5de0c0dc09b181b27e4/read_ config.c#L415

sleinen commented 6 years ago

The comment in the source looks correct to me, because the port separator is indeed ':', or at least that is the intent of the code. What makes you think it is '/'?

dgubitosi commented 6 years ago

The port separator is indeed '/' which I found a little odd myself...

https://github.com/sleinen/samplicator/blob/37e0e90cec9021ecf287e5de0c0dc09b181b27e4/read_config.c#L44