diff options
author | Laurent Ghigonis <laurent@p1sec.com> | 2012-12-10 01:17:00 +0100 |
---|---|---|
committer | Laurent Ghigonis <laurent@p1sec.com> | 2012-12-10 01:17:00 +0100 |
commit | 90fda85425cbe1323b603129db3b805d54d34c3a (patch) | |
tree | 498fbfa3efd571d7d18d3d58339834258d43dffc /gg_map | |
parent | show node ip on the network graph, and display a black background (diff) | |
download | glouglou-90fda85425cbe1323b603129db3b805d54d34c3a.tar.xz glouglou-90fda85425cbe1323b603129db3b805d54d34c3a.zip |
fix ip_to_str()
Diffstat (limited to 'gg_map')
-rw-r--r-- | gg_map/gg_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gg_map/gg_map.c b/gg_map/gg_map.c index 9678938..0b4d529 100644 --- a/gg_map/gg_map.c +++ b/gg_map/gg_map.c @@ -24,7 +24,7 @@ _cb_ecore_libevent(void *data) { const char *ip_to_str(u_int ip) { unsigned char bytes[4]; - char buf[16]; + static char buf[16]; bytes[0] = ip & 0xFF; bytes[1] = (ip >> 8) & 0xFF; |