Thanks for the reply. But what I am looking is something like below:
FOr Eg: I have one instance Confd listening on 2 IP's on its North Bound say (184.108.40.206 and 220.127.116.11).
Now I need to get the IP (18.104.22.168 or 22.214.171.124) in my callBack function, depending on which IP the user has used to login.
If Users Ip is say 126.96.36.199 and he logsin using ssh 188.8.131.52 on confd, I need to get the IP 184.108.40.206 in my callback code.
Is this possible?
Any help is much appreciated.