trafgen: proto: Replace panic() with bug() where applicable
commit5f06441c06d46499743689468971ecea9e14f984
authorTobias Klauser <tklauser@distanz.ch>
Fri, 22 Apr 2016 14:23:46 +0000 (22 16:23 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Fri, 22 Apr 2016 14:23:46 +0000 (22 16:23 +0200)
tree2aa88c575952d4a2ec59d94fd1bc809fc7da33ca
parentf2478b5dde8fcdfa1bf33065e0e55c4bd181a1d2
trafgen: proto: Replace panic() with bug() where applicable

In some cases we use panic() in situations where the error could only
happen due to an implementation error. Use bug() there as it is more
applicable, as panic() is mainly used to report system call errors.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
trafgen_l2.c
trafgen_l3.c
trafgen_proto.c