convert memcpy to copy_route

Signed-off-by: Etienne Basset <etienne.basset@ensta.org>
correct debug statement

Signed-off-by: Etienne Basset <etienne.basset@ensta.org>
Merge branch 'master' of https://github.com/ccie16798/subnettools
Merge branch 'SCANF' of https://github.com/ccie16798/subnettools
[BUG] cannot get a pointer to a va_list, must pass va_list itself
(works on my kubuntu 14.04 notebook .....)

Signed-off-by: Etienne Basset <etienne.basset@ensta.org>
[HELPER] remove_space(char *s)

Signed-off-by: Etienne Basset <etienne.basset@ensta.org>
[CLEANUP] make some fn static and cat pointer to long * in debug macro to suppress compile warning

Signed-off-by: Etienne Basset <etienne.basset@ensta.org>