sngrep icon indicating copy to clipboard operation
sngrep copied to clipboard

To Merge Two IP in single column

Open sajai20 opened this issue 9 months ago • 3 comments

Hi @Kaian

I would like to know can we able to merge two ip in single column for example the inbound invite message comes to PCSCF through ip 192.168.151.140 and from PCSCF the invite message moves to another node through ip 192.168.151.144 so i need to merge this two ip and show in a single column instead of two seperate columns is there any feature in SNGREP to slove this issue.

sajai20 avatar Mar 17 '25 05:03 sajai20

Hi!

Currently, there is no feature to merge two IP addresses in the same column. However, we also find this useful in some scenarios, so I will leave it as a feature request for future reference.

Best regards!

Kaian avatar Mar 17 '25 07:03 Kaian

Hi @Kaian thank you fou your response if i have to implement the above mentioned feature in sngrep can you give me some input on which piece of code or which functions i need to modify to achieve my interest ?

sajai20 avatar Mar 21 '25 04:03 sajai20

setting the two ip addresses to the same alias in the .sngreprc file do not do what you looking for?

gmaruzz avatar Aug 06 '25 11:08 gmaruzz