add -lconfig ldflags to link libconfig library
if the route entry already exits, return 0 other than -1
specify the protocol IPPROTO_ICMP
redefine the gateway info structure
take advantage of libconfig to read configuration file