diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-09-06 14:25:47 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-09-06 14:25:47 +0000 |
commit | 8c48c6835fbfada96d2197bcbc7a87023bfc8291 (patch) | |
tree | 2a60509a6637549f370b63ce3b27a3de8f9736d8 /tap-sctpchunkstat.c | |
parent | d6b920b8f6b22548e3828258ea11b2443af89ce4 (diff) | |
download | wireshark-8c48c6835fbfada96d2197bcbc7a87023bfc8291.tar.gz wireshark-8c48c6835fbfada96d2197bcbc7a87023bfc8291.tar.bz2 wireshark-8c48c6835fbfada96d2197bcbc7a87023bfc8291.zip |
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.c | 4 |
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], |