]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Move end label into correct position
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Sun, 26 Jul 2009 18:23:08 +0000 (19:23 +0100)
committerDerrick Brashear <shadow|account-1000005@unknown>
Thu, 17 Dec 2009 06:19:37 +0000 (22:19 -0800)
The end label was in the wrong #ifdef block in order to actually be referenced
in the case where USEIFADDR is unset

Reviewed-on: http://gerrit.openafs.org/226
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
(cherry picked from commit 4c2e426d2dad559e1ed2c2c43d48193400b22c61)
Change-Id: If7a3ed246da58aca60b60dcf5501430acc999b0c
Reviewed-on: http://gerrit.openafs.org/915
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/afs_server.c

index 703133ef97519b858ed14540f7118a2d60a99bde..ccb34fdaf1e188340c244706a75061e9d7e792ff 100644 (file)
@@ -1516,8 +1516,10 @@ static int afs_SetServerPrefs(struct srvAddr *sa) {
            afsi_SetServerIPRank(sa, ifa);
     }}
 #endif
-    end:
 #endif                         /* USEIFADDR */
+#ifndef USEIFADDR
+    end:
+#endif
 #endif                         /* AFS_SUN5_ENV */
 #endif                         /* else AFS_USERSPACE_IP_ADDR */
     if (sa)