diff options
Diffstat (limited to 'source3/lib/substitute.c')
-rw-r--r-- | source3/lib/substitute.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/substitute.c b/source3/lib/substitute.c index 923afd989f..ee342964d0 100644 --- a/source3/lib/substitute.c +++ b/source3/lib/substitute.c @@ -363,6 +363,9 @@ void standard_sub_basic(const char *smb_name, char *str,size_t len) case 'I' : string_sub(p,"%I", client_addr(),l); break; + case 'i' : + string_sub(p,"%i", client_socket_addr(),l); + break; case 'L' : if (local_machine_name && *local_machine_name) string_sub(p,"%L", local_machine_name,l); |