aboutsummaryrefslogtreecommitdiffstats
path: root/tap-sctpchunkstat.c
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-09-06 14:25:47 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-09-06 14:25:47 +0000
commit8c48c6835fbfada96d2197bcbc7a87023bfc8291 (patch)
tree2a60509a6637549f370b63ce3b27a3de8f9736d8 /tap-sctpchunkstat.c
parentd6b920b8f6b22548e3828258ea11b2443af89ce4 (diff)
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
Diffstat (limited to 'tap-sctpchunkstat.c')
-rw-r--r--tap-sctpchunkstat.c4
1 files changed, 2 insertions, 2 deletions
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],