summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-12-26 00:07:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:44 -0500
commitac914ed4a16d778a25ced8b8a6e9de9c58abf34e (patch)
tree2cad7479e8386cee9b45b52eebd17e3b9b3d3308 /source4
parent94793b80d7fbd6121bb30e36b25e63abe078feee (diff)
downloadsamba-ac914ed4a16d778a25ced8b8a6e9de9c58abf34e.tar.gz
samba-ac914ed4a16d778a25ced8b8a6e9de9c58abf34e.tar.bz2
samba-ac914ed4a16d778a25ced8b8a6e9de9c58abf34e.zip
r12487: Remove obsolete function
(This used to be commit 865a2c9ecaeae83417509c01142ba4220c0b53d7)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/util.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/source4/lib/util.c b/source4/lib/util.c
index 2b13cd3d2f..3b4064098c 100644
--- a/source4/lib/util.c
+++ b/source4/lib/util.c
@@ -282,30 +282,6 @@ char* get_myname(void)
}
/****************************************************************************
- Interpret a protocol description string, with a default.
-****************************************************************************/
-
-int interpret_protocol(char *str,int def)
-{
- if (strequal(str,"NT1"))
- return(PROTOCOL_NT1);
- if (strequal(str,"LANMAN2"))
- return(PROTOCOL_LANMAN2);
- if (strequal(str,"LANMAN1"))
- return(PROTOCOL_LANMAN1);
- if (strequal(str,"CORE"))
- return(PROTOCOL_CORE);
- if (strequal(str,"COREPLUS"))
- return(PROTOCOL_COREPLUS);
- if (strequal(str,"CORE+"))
- return(PROTOCOL_COREPLUS);
-
- DEBUG(0,("Unrecognised protocol level %s\n",str));
-
- return(def);
-}
-
-/****************************************************************************
Return true if a string could be a pure IP address.
****************************************************************************/