From 8c48c6835fbfada96d2197bcbc7a87023bfc8291 Mon Sep 17 00:00:00 2001 From: Kovarththanan Rajaratnam Date: Sun, 6 Sep 2009 14:25:47 +0000 Subject: Rename address_to_str() to ep_address_to_str() because: 1) This indicates that the string has ephemeral lifetime 2) More consistent with its existing seasonal counterpart, se_address_to_str(). svn path=/trunk/; revision=29747 --- tap-sctpchunkstat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tap-sctpchunkstat.c') diff --git a/tap-sctpchunkstat.c b/tap-sctpchunkstat.c index a7ef6efa04..800af2e250 100644 --- a/tap-sctpchunkstat.c +++ b/tap-sctpchunkstat.c @@ -199,8 +199,8 @@ sctpstat_draw(void *phs) for(tmp = list ; tmp ; tmp=tmp->next) { printf("|%15s|%5u|%15s|%5u|%8u|%8u|%8u|%8u|%8u|%8u|%8u|%8u|%8u|%8u|\n", - address_to_str(&tmp->src),tmp->sport, - address_to_str(&tmp->dst),tmp->dport, + ep_address_to_str(&tmp->src),tmp->sport, + ep_address_to_str(&tmp->dst),tmp->dport, tmp->chunk_count[SCTP_DATA_CHUNK_ID], tmp->chunk_count[SCTP_SACK_CHUNK_ID], tmp->chunk_count[SCTP_HEARTBEAT_CHUNK_ID], -- cgit v1.2.3